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.000975/0.0009751, allocations: 107.1 kB / 16.4 MB, free: 6.504 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.001109/0.001109, allocations: 193.2 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 64.78 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1304, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01884/0.1493, allocations: 19.43 MB / 0.651 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006706/0.156, allocations: 5.153 MB / 0.6561 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.1566, allocations: 19.88 kB / 0.6561 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.1574, allocations: 270 kB / 0.6564 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.159, allocations: 0.7614 MB / 0.6571 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.161, allocations: 0.8819 MB / 0.658 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.1625, allocations: 1.556 MB / 0.6595 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.1631, allocations: 0.5092 MB / 0.66 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008495/0.164, allocations: 0.6382 MB / 0.6606 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.1646, allocations: 0.5368 MB / 0.6611 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.15e-05/0.1647, allocations: 52 kB / 0.6612 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.1658, allocations: 0.6979 MB / 0.6619 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1659, allocations: 167.3 kB / 0.662 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.1662, allocations: 382 kB / 0.6624 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.1674, allocations: 1.086 MB / 0.6634 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1674, allocations: 3.984 kB / 0.6634 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1674, allocations: 0 / 0.6634 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.1674, allocations: 0 / 0.6634 GB, free: 4.152 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.001699/0.1691, allocations: 1.098 MB / 0.6645 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1691, allocations: 11.97 kB / 0.6645 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1693, allocations: 83.91 kB / 0.6646 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.17, allocations: 0.5226 MB / 0.6651 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.17, allocations: 37 kB / 0.6652 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.29e-05/0.1701, allocations: 55.94 kB / 0.6652 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009872/0.1711, allocations: 0.6255 MB / 0.6658 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1711, allocations: 3.938 kB / 0.6658 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.1711, allocations: 16 kB / 0.6658 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1712, allocations: 16 kB / 0.6658 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1722, allocations: 491.4 kB / 0.6663 GB, free: 1.051 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.003179/0.1754, allocations: 3.197 MB / 0.6694 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.176, allocations: 341.1 kB / 0.6698 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.1765, allocations: 228.8 kB / 0.67 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.1768, allocations: 352.4 kB / 0.6703 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1768, allocations: 30.56 kB / 0.6703 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 1.613e-06/0.1768, allocations: 0 / 0.6703 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.002022/0.1789, allocations: 0.8036 MB / 0.6711 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1789, allocations: 59.41 kB / 0.6712 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.1795, allocations: 0.5939 MB / 0.6718 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.1796, allocations: 29.7 kB / 0.6718 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1798, allocations: 332.4 kB / 0.6721 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-05/0.1799, allocations: 130 kB / 0.6722 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.1801, allocations: 130.2 kB / 0.6724 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1802, allocations: 366.8 kB / 0.6727 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.1807, allocations: 231.3 kB / 0.6729 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.1813, allocations: 372 kB / 0.6733 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1823, allocations: 0.5666 MB / 0.6738 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1824, allocations: 4 kB / 0.6738 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001416/0.1838, allocations: 0.7221 MB / 0.6746 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1838, allocations: 8 kB / 0.6746 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1838, allocations: 4.562 kB / 0.6746 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.1844, allocations: 132.7 kB / 0.6747 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.185, allocations: 135.8 kB / 0.6748 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006341/0.1856, allocations: 0.6226 MB / 0.6754 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.1861, allocations: 83.23 kB / 0.6755 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.1862, allocations: 35.98 kB / 0.6755 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00062/0.1868, allocations: 345.3 kB / 0.6759 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005701/0.1874, allocations: 370.1 kB / 0.6762 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001057/0.1885, allocations: 0.5549 MB / 0.6768 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.1885, allocations: 8 kB / 0.6768 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001296/0.1898, allocations: 0.6748 MB / 0.6774 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1898, allocations: 8 kB / 0.6774 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1898, allocations: 7.938 kB / 0.6774 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.1898, allocations: 8.141 kB / 0.6775 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.1904, allocations: 151.8 kB / 0.6776 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1904, allocations: 11.92 kB / 0.6776 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.1909, allocations: 79.8 kB / 0.6777 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.1909, allocations: 27.98 kB / 0.6777 GB, free: 4.707 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.0001816/0.1911, allocations: 216.1 kB / 0.6779 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1912, allocations: 59.25 kB / 0.678 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.1926, allocations: 0.6414 MB / 0.6786 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.1927, allocations: 11.94 kB / 0.6786 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1927, allocations: 7.922 kB / 0.6786 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1927, allocations: 0 / 0.6786 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.195, allocations: 1.379 MB / 0.68 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.195, allocations: 0 / 0.68 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.1953, allocations: 79.89 kB / 0.68 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.1957, allocations: 108.8 kB / 0.6801 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.1957, allocations: 12 kB / 0.6802 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005557/0.1963, allocations: 0.6303 MB / 0.6808 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1963, allocations: 0 / 0.6808 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.1975, allocations: 0.7058 MB / 0.6815 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.1977, allocations: 192.1 kB / 0.6816 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.1978, allocations: 8 kB / 0.6817 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.1982, allocations: 39.95 kB / 0.6817 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.1983, allocations: 23.97 kB / 0.6817 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.1983, allocations: 19.98 kB / 0.6817 GB, free: 432 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004086/0.1987, allocations: 403.1 kB / 0.6821 GB, free: 32 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1987, allocations: 4 kB / 0.6821 GB, free: 28 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009458/0.1997, allocations: 391.5 kB / 0.6825 GB, free: 15.64 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.0005579/0.2003, allocations: 307.7 kB / 0.6828 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.202, allocations: 0.8736 MB / 0.6836 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.202, allocations: 0 / 0.6836 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.2027, allocations: 280.8 kB / 0.6839 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2038, allocations: 235 kB / 0.6841 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2053, allocations: 1.049 MB / 0.6852 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.2057, allocations: 0.9194 MB / 0.6861 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004459/0.2061, allocations: 151.4 kB / 0.6862 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.2063, allocations: 63.41 kB / 0.6863 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.2063, allocations: 0 / 0.6863 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of Templates: time 0.01895/0.2253, allocations: 12.71 MB / 0.6987 GB, free: 15.19 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)