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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5194/0.5194, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009974, allocations: 90.95 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.825e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 72.33 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.327, allocations: 346.5 MB / 0.8919 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/1.327, allocations: 94.88 kB / 0.892 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7803/2.108, allocations: 238.9 MB / 1.125 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.282e-06/2.108, allocations: 0 / 1.125 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.307e-05/2.108, allocations: 20 kB / 1.125 GB, free: 131.8 MB / 0.5886 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.001392/2.109, allocations: 0.9599 MB / 1.126 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/2.109, allocations: 12.02 kB / 1.126 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/2.109, allocations: 86.97 kB / 1.126 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/2.11, allocations: 0.5065 MB / 1.127 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/2.11, allocations: 16 kB / 1.127 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/2.11, allocations: 35.94 kB / 1.127 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004955/2.111, allocations: 358.5 kB / 1.127 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/2.111, allocations: 0.5055 MB / 1.128 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/2.111, allocations: 0 / 1.128 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/2.111, allocations: 3.938 kB / 1.128 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/2.111, allocations: 12 kB / 1.128 GB, free: 129.2 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.002461/2.114, allocations: 3.119 MB / 1.131 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/2.114, allocations: 282.8 kB / 1.131 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/2.114, allocations: 180.9 kB / 1.131 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/2.115, allocations: 348.1 kB / 1.132 GB, free: 125 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/2.115, allocations: 38.56 kB / 1.132 GB, free: 125 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=38): time 1.473e-06/2.115, allocations: 0 / 1.132 GB, free: 125 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38): time 0.001865/2.116, allocations: 0.6655 MB / 1.132 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/2.117, allocations: 59.34 kB / 1.132 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/2.117, allocations: 451.3 kB / 1.133 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/2.117, allocations: 29.7 kB / 1.133 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/2.117, allocations: 332.2 kB / 1.133 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/2.117, allocations: 122.1 kB / 1.133 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/2.117, allocations: 0 / 1.133 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/2.117, allocations: 370.8 kB / 1.134 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/2.117, allocations: 149.1 kB / 1.134 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/2.118, allocations: 318.4 kB / 1.134 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/2.119, allocations: 440.3 kB / 1.134 GB, free: 122 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/2.119, allocations: 0 / 1.134 GB, free: 122 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001795/2.121, allocations: 0.7926 MB / 1.135 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003764/2.121, allocations: 1.744 MB / 1.137 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/2.121, allocations: 11.88 kB / 1.137 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/2.122, allocations: 104.8 kB / 1.137 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/2.122, allocations: 139.8 kB / 1.137 GB, free: 119 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007966/2.123, allocations: 0.7038 MB / 1.138 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/2.124, allocations: 95.38 kB / 1.138 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/2.124, allocations: 31.98 kB / 1.138 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/2.124, allocations: 4.875 kB / 1.138 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001644/2.125, allocations: 0.6697 MB / 1.139 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/2.125, allocations: 4 kB / 1.139 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/2.125, allocations: 8 kB / 1.139 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/2.126, allocations: 156.2 kB / 1.139 GB, free: 117.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/2.126, allocations: 15.94 kB / 1.139 GB, free: 117.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/2.126, allocations: 75.62 kB / 1.139 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/2.126, allocations: 31.98 kB / 1.139 GB, free: 117.2 MB / 0.5886 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001299/2.127, allocations: 124.8 kB / 1.139 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/2.127, allocations: 67.09 kB / 1.139 GB, free: 117 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/2.128, allocations: 0.7446 MB / 1.14 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/2.128, allocations: 11.94 kB / 1.14 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.129, allocations: 0 / 1.14 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/2.129, allocations: 7.984 kB / 1.14 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/2.131, allocations: 1.429 MB / 1.141 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/2.131, allocations: 4 kB / 1.141 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/2.131, allocations: 91.88 kB / 1.141 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002898/2.132, allocations: 112.9 kB / 1.141 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/2.132, allocations: 7.953 kB / 1.141 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006771/2.132, allocations: 0.6889 MB / 1.142 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.132, allocations: 3.938 kB / 1.142 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/2.134, allocations: 0.8696 MB / 1.143 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/2.134, allocations: 192.1 kB / 1.143 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/2.134, allocations: 7.953 kB / 1.143 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/2.135, allocations: 55.78 kB / 1.143 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/2.135, allocations: 31.95 kB / 1.143 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/2.135, allocations: 23.98 kB / 1.143 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002971/2.135, allocations: 335.1 kB / 1.144 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.135, allocations: 0 / 1.144 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001219/2.137, allocations: 387.2 kB / 1.144 GB, free: 111.9 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007303/2.137, allocations: 418.2 kB / 1.144 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001194/2.138, allocations: 0.7116 MB / 1.145 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.138, allocations: 4.438 kB / 1.145 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/2.139, allocations: 235.8 kB / 1.145 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/2.14, allocations: 232.7 kB / 1.145 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/2.141, allocations: 0.7286 MB / 1.146 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/2.141, allocations: 0.9245 MB / 1.147 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005796/2.142, allocations: 164.8 kB / 1.147 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/2.142, allocations: 51.42 kB / 1.147 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/2.142, allocations: 0 / 1.147 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.01581/2.158, allocations: 12.14 MB / 1.159 GB, free: 96.4 MB / 0.5886 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)