Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 165 kB / 24.25 MB, free: 204 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9661/0.9661, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.882/1.882, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.776e-05, allocations: 3.219 kB / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01657/0.01659, allocations: 10.49 MB / 0.7856 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007692/0.02428, allocations: 4.243 MB / 0.7898 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.02489, allocations: 48.97 kB / 0.7898 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.02543, allocations: 241.9 kB / 0.79 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.02711, allocations: 0.8725 MB / 0.7909 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.02922, allocations: 1.123 MB / 0.792 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.03133, allocations: 3.392 MB / 0.7953 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.03213, allocations: 1.202 MB / 0.7965 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.03356, allocations: 2.036 MB / 0.7985 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.03523, allocations: 1.754 MB / 0.8002 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.03539, allocations: 88.66 kB / 0.8003 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.03625, allocations: 0.7057 MB / 0.8009 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.03644, allocations: 316.1 kB / 0.8012 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.03676, allocations: 450.9 kB / 0.8017 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.03788, allocations: 1.452 MB / 0.8031 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.03788, allocations: 1.062 kB / 0.8031 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.193e-06/0.03788, allocations: 0 / 0.8031 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.03789, allocations: 0 / 0.8031 GB, free: 8.945 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001334/0.03923, allocations: 1.43 MB / 0.8045 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.03926, allocations: 13.34 kB / 0.8045 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.0397, allocations: 204.6 kB / 0.8047 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.04033, allocations: 0.575 MB / 0.8053 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.04037, allocations: 65.31 kB / 0.8053 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/0.04047, allocations: 96 kB / 0.8054 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.04095, allocations: 0.5217 MB / 0.8059 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.04096, allocations: 0 / 0.8059 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.04099, allocations: 24 kB / 0.8059 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.041, allocations: 12 kB / 0.806 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.04125, allocations: 243.8 kB / 0.8062 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.04333, allocations: 1.775 MB / 0.8079 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.04358, allocations: 224.1 kB / 0.8081 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.04367, allocations: 88.2 kB / 0.8082 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-05/0.04376, allocations: 24.27 kB / 0.8082 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.04379, allocations: 34.84 kB / 0.8083 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.04379, allocations: 0 / 0.8083 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0004295/0.04422, allocations: 307.6 kB / 0.8086 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.04426, allocations: 63.34 kB / 0.8086 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.04469, allocations: 0.6716 MB / 0.8093 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.04476, allocations: 41.7 kB / 0.8093 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.04497, allocations: 371.4 kB / 0.8097 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.04504, allocations: 122.9 kB / 0.8098 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.04527, allocations: 198.6 kB / 0.81 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.04537, allocations: 329.9 kB / 0.8103 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.0455, allocations: 99.27 kB / 0.8104 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.0464, allocations: 2.097 MB / 0.8124 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.04669, allocations: 312.8 kB / 0.8127 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.04669, allocations: 0 / 0.8127 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004104/0.0471, allocations: 390.8 kB / 0.8131 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.04712, allocations: 6.5 kB / 0.8131 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.04712, allocations: 4 kB / 0.8131 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.04713, allocations: 12.17 kB / 0.8131 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.04779, allocations: 231.6 kB / 0.8134 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009785/0.04877, allocations: 2.926 MB / 0.8162 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009717/0.04974, allocations: 360 kB / 0.8166 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.04978, allocations: 27.98 kB / 0.8166 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002135/0.04999, allocations: 187.1 kB / 0.8168 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007962/0.05079, allocations: 2.112 MB / 0.8188 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002767/0.05106, allocations: 333 kB / 0.8191 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.05107, allocations: 0 / 0.8191 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00042/0.05149, allocations: 414.6 kB / 0.8195 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.0515, allocations: 8 kB / 0.8196 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.0515, allocations: 0 / 0.8196 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.0515, allocations: 8.312 kB / 0.8196 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.05196, allocations: 212.6 kB / 0.8198 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.05197, allocations: 8 kB / 0.8198 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.05322, allocations: 480.4 kB / 0.8202 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.05325, allocations: 16 kB / 0.8202 GB, free: 5.773 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.05339, allocations: 232.6 kB / 0.8205 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.05345, allocations: 51.94 kB / 0.8205 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.05387, allocations: 351.3 kB / 0.8208 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.05388, allocations: 11.88 kB / 0.8209 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.05388, allocations: 0 / 0.8209 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.05388, allocations: 0 / 0.8209 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008457/0.05473, allocations: 0.8148 MB / 0.8217 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.05473, allocations: 3.938 kB / 0.8217 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.05501, allocations: 115.9 kB / 0.8218 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.05502, allocations: 4 kB / 0.8218 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.05504, allocations: 8 kB / 0.8218 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007948/0.05583, allocations: 2.907 MB / 0.8246 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.05584, allocations: 11.98 kB / 0.8246 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.05614, allocations: 435 kB / 0.825 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.05627, allocations: 111.2 kB / 0.8252 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.05632, allocations: 8 kB / 0.8252 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.05649, allocations: 15.98 kB / 0.8252 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.05654, allocations: 35.75 kB / 0.8252 GB, free: 492 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.05656, allocations: 11.98 kB / 0.8252 GB, free: 480 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002161/0.05678, allocations: 324.7 kB / 0.8255 GB, free: 140 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05678, allocations: 3.938 kB / 0.8255 GB, free: 136 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006573/0.05744, allocations: 0.5067 MB / 0.826 GB, free: 15.62 MB / 0.7917 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00028/0.05772, allocations: 191.9 kB / 0.8262 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008838/0.0586, allocations: 0.5906 MB / 0.8268 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.05861, allocations: 12 kB / 0.8268 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.05882, allocations: 165.4 kB / 0.827 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.0595, allocations: 336.8 kB / 0.8273 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.06107, allocations: 1.445 MB / 0.8287 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.06117, allocations: 171.6 kB / 0.8289 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003822/0.06155, allocations: 162 kB / 0.829 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/0.06219, allocations: 339 kB / 0.8293 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of SimCode: time 7.41e-07/0.06219, allocations: 0 / 0.8293 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of Templates: time 0.0228/0.08499, allocations: 22.82 MB / 0.8516 GB, free: 5.836 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.513811159878969]