Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 115 kB / 17.08 MB, free: 6.016 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.001579/0.001579, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.688/0.688, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 72.31 kB / 0.5583 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1326, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01775/0.1504, allocations: 19.42 MB / 0.6517 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006963/0.1575, allocations: 5.141 MB / 0.6567 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.1582, allocations: 19.88 kB / 0.6567 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.159, allocations: 274 kB / 0.657 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.1608, allocations: 0.7762 MB / 0.6578 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.1628, allocations: 0.863 MB / 0.6586 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.1645, allocations: 1.568 MB / 0.6601 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.1651, allocations: 0.5093 MB / 0.6606 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009406/0.1661, allocations: 0.6343 MB / 0.6613 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.1667, allocations: 0.5329 MB / 0.6618 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.757e-05/0.1668, allocations: 56 kB / 0.6618 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.168, allocations: 0.6979 MB / 0.6625 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1681, allocations: 159.3 kB / 0.6627 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.1685, allocations: 382 kB / 0.663 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.1697, allocations: 1.098 MB / 0.6641 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1697, allocations: 0 / 0.6641 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1697, allocations: 4 kB / 0.6641 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.1697, allocations: 4 kB / 0.6641 GB, free: 4.184 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001711/0.1714, allocations: 1.09 MB / 0.6652 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1715, allocations: 15.95 kB / 0.6652 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1716, allocations: 87.91 kB / 0.6653 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.1724, allocations: 0.5187 MB / 0.6658 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1724, allocations: 37 kB / 0.6658 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.1725, allocations: 48 kB / 0.6659 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.1734, allocations: 0.6177 MB / 0.6665 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1734, allocations: 0 / 0.6665 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.1735, allocations: 20 kB / 0.6665 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1735, allocations: 12 kB / 0.6665 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000932/0.1745, allocations: 499.4 kB / 0.667 GB, free: 1.098 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.00355/0.178, allocations: 3.201 MB / 0.6701 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.1787, allocations: 338.8 kB / 0.6704 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.1792, allocations: 238.3 kB / 0.6706 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.1796, allocations: 344.4 kB / 0.671 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1796, allocations: 38.56 kB / 0.671 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.635e-06/0.1796, allocations: 0 / 0.671 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.002038/0.1817, allocations: 0.8036 MB / 0.6718 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1817, allocations: 55.41 kB / 0.6718 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.1823, allocations: 0.5939 MB / 0.6724 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.1824, allocations: 29.7 kB / 0.6725 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1826, allocations: 328.4 kB / 0.6728 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/0.1827, allocations: 134 kB / 0.6729 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.1829, allocations: 130.2 kB / 0.673 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.183, allocations: 378.8 kB / 0.6734 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.1835, allocations: 219.4 kB / 0.6736 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.1841, allocations: 368 kB / 0.6739 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.1851, allocations: 0.5743 MB / 0.6745 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1851, allocations: 0 / 0.6745 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001325/0.1864, allocations: 0.7144 MB / 0.6752 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1864, allocations: 9.969 kB / 0.6752 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1864, allocations: 8 kB / 0.6752 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/0.187, allocations: 148.7 kB / 0.6754 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.1876, allocations: 131.8 kB / 0.6755 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005105/0.1881, allocations: 0.6226 MB / 0.6761 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.1886, allocations: 87.23 kB / 0.6762 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.1887, allocations: 28 kB / 0.6762 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005875/0.1893, allocations: 349.3 kB / 0.6765 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005312/0.1898, allocations: 368.1 kB / 0.6769 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009407/0.1908, allocations: 0.5548 MB / 0.6774 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.1908, allocations: 4 kB / 0.6774 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001229/0.192, allocations: 0.6669 MB / 0.6781 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.192, allocations: 11.98 kB / 0.6781 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.192, allocations: 4 kB / 0.6781 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.1921, allocations: 8 kB / 0.6781 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.1926, allocations: 159.7 kB / 0.6783 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1927, allocations: 8.438 kB / 0.6783 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.1931, allocations: 71.48 kB / 0.6783 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.1932, allocations: 31.98 kB / 0.6784 GB, free: 4.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.1934, allocations: 212.1 kB / 0.6786 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.1935, allocations: 59.25 kB / 0.6786 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.1948, allocations: 0.6483 MB / 0.6793 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1948, allocations: 4 kB / 0.6793 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1949, allocations: 3.938 kB / 0.6793 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1949, allocations: 3.984 kB / 0.6793 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.1971, allocations: 1.383 MB / 0.6806 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1971, allocations: 0 / 0.6806 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.1975, allocations: 83.88 kB / 0.6807 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003354/0.1978, allocations: 112.9 kB / 0.6808 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.1979, allocations: 15.98 kB / 0.6808 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005861/0.1985, allocations: 0.6225 MB / 0.6814 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1985, allocations: 3.938 kB / 0.6814 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1997, allocations: 0.7059 MB / 0.6821 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.2, allocations: 196.1 kB / 0.6823 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.2001, allocations: 8 kB / 0.6823 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.2004, allocations: 31.97 kB / 0.6823 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.2005, allocations: 35.89 kB / 0.6824 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.2006, allocations: 19.98 kB / 0.6824 GB, free: 460 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004136/0.201, allocations: 403.1 kB / 0.6828 GB, free: 60 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.201, allocations: 0 / 0.6828 GB, free: 60 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001087/0.2021, allocations: 383.4 kB / 0.6832 GB, free: 15.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006007/0.2027, allocations: 302.5 kB / 0.6834 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.2045, allocations: 0.8695 MB / 0.6843 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2045, allocations: 0 / 0.6843 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.2051, allocations: 285 kB / 0.6846 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2062, allocations: 243.6 kB / 0.6848 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.208, allocations: 1.095 MB / 0.6859 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.2085, allocations: 0.9077 MB / 0.6867 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.2087, allocations: 63.41 kB / 0.6868 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.2087, allocations: 0 / 0.6868 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.01629/0.225, allocations: 13.02 MB / 0.6995 GB, free: 14.95 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)