Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 103.9 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 195.9 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.06 kB / 0.5572 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 76.17 MB / 0.6316 GB, free: 4.809 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01905/0.1467, allocations: 15.53 MB / 0.6467 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006556/0.1533, allocations: 4.33 MB / 0.651 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006042/0.1539, allocations: 15.88 kB / 0.651 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009881/0.155, allocations: 266.3 kB / 0.6512 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.1566, allocations: 0.6051 MB / 0.6518 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.1586, allocations: 0.7059 MB / 0.6525 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.1601, allocations: 1.037 MB / 0.6535 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000632/0.1607, allocations: 330.7 kB / 0.6539 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.1616, allocations: 430.3 kB / 0.6543 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.1621, allocations: 326.5 kB / 0.6546 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.1622, allocations: 28 kB / 0.6546 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1633, allocations: 0.6239 MB / 0.6552 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1635, allocations: 103.6 kB / 0.6553 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.1638, allocations: 226.7 kB / 0.6555 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1651, allocations: 0.7719 MB / 0.6563 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1651, allocations: 0 / 0.6563 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1651, allocations: 3.938 kB / 0.6563 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.165e-05/0.1651, allocations: 0 / 0.6563 GB, free: 11.42 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001394/0.1665, allocations: 0.829 MB / 0.6571 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1666, allocations: 8.031 kB / 0.6571 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.98e-05/0.1667, allocations: 58.72 kB / 0.6572 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1668, allocations: 48.38 kB / 0.6572 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.1675, allocations: 433.2 kB / 0.6576 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1676, allocations: 24.44 kB / 0.6576 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.1676, allocations: 24 kB / 0.6577 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.168, allocations: 215.2 kB / 0.6579 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1681, allocations: 7.938 kB / 0.6579 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1681, allocations: 12 kB / 0.6579 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1681, allocations: 4 kB / 0.6579 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.1685, allocations: 161.6 kB / 0.658 GB, free: 9.508 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1701, allocations: 0.9495 MB / 0.659 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1704, allocations: 130.6 kB / 0.6591 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1705, allocations: 72.75 kB / 0.6592 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.1708, allocations: 340.3 kB / 0.6595 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1709, allocations: 34.56 kB / 0.6595 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.1709, allocations: 0 / 0.6595 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006014/0.1715, allocations: 243.5 kB / 0.6598 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.1715, allocations: 51.41 kB / 0.6598 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.172, allocations: 474 kB / 0.6603 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.172, allocations: 33.7 kB / 0.6603 GB, free: 7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1722, allocations: 232.6 kB / 0.6605 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1722, allocations: 47.3 kB / 0.6606 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.1723, allocations: 57.61 kB / 0.6606 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1725, allocations: 362.7 kB / 0.661 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1727, allocations: 80.61 kB / 0.661 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.1729, allocations: 145.1 kB / 0.6612 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.1733, allocations: 169.7 kB / 0.6613 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1733, allocations: 0 / 0.6613 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004845/0.1738, allocations: 249 kB / 0.6616 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1738, allocations: 8 kB / 0.6616 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1738, allocations: 0 / 0.6616 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1738, allocations: 0 / 0.6616 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.174, allocations: 51.97 kB / 0.6616 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.174, allocations: 3.938 kB / 0.6616 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.1743, allocations: 39.72 kB / 0.6617 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.1744, allocations: 8 kB / 0.6617 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002634/0.1747, allocations: 192.1 kB / 0.6619 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002499/0.1749, allocations: 170.5 kB / 0.662 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003202/0.1752, allocations: 168.2 kB / 0.6622 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.1753, allocations: 4 kB / 0.6622 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004746/0.1757, allocations: 256 kB / 0.6624 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.1758, allocations: 7.984 kB / 0.6624 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1758, allocations: 4 kB / 0.6624 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.1758, allocations: 0 / 0.6624 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.176, allocations: 47.86 kB / 0.6625 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.176, allocations: 7.984 kB / 0.6625 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.1763, allocations: 35.88 kB / 0.6625 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1763, allocations: 12 kB / 0.6625 GB, free: 4.574 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.1764, allocations: 191.7 kB / 0.6627 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.1765, allocations: 47.38 kB / 0.6628 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.177, allocations: 259 kB / 0.663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.1771, allocations: 0 / 0.663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1771, allocations: 4 kB / 0.663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1771, allocations: 0 / 0.663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.178, allocations: 0.7006 MB / 0.6637 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.178, allocations: 0 / 0.6637 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.1782, allocations: 35.91 kB / 0.6637 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1782, allocations: 0 / 0.6637 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1782, allocations: 11.94 kB / 0.6637 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1782, allocations: 0 / 0.6637 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1782, allocations: 4.094 kB / 0.6638 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.1787, allocations: 346.2 kB / 0.6641 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.1788, allocations: 136.5 kB / 0.6642 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.1789, allocations: 3.938 kB / 0.6642 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1791, allocations: 15.98 kB / 0.6642 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1791, allocations: 19.98 kB / 0.6643 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1792, allocations: 7.984 kB / 0.6643 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003288/0.1795, allocations: 330.9 kB / 0.6646 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1795, allocations: 3.938 kB / 0.6646 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000607/0.1801, allocations: 203.6 kB / 0.6648 GB, free: 2.168 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00162/0.1817, allocations: 1.239 MB / 0.666 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006503/0.1824, allocations: 275.9 kB / 0.6662 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1824, allocations: 8.062 kB / 0.6663 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1826, allocations: 79.89 kB / 0.6663 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.1836, allocations: 207.8 kB / 0.6665 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.1878, allocations: 3.321 MB / 0.6698 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.1882, allocations: 0.823 MB / 0.6706 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002762/0.1884, allocations: 87.14 kB / 0.6707 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.1886, allocations: 143.4 kB / 0.6708 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.1886, allocations: 4 kB / 0.6708 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.2229, allocations: 13 MB / 0.6835 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.388, allocations: 5.938 kB / 0.6835 GB, free: 15.14 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)