Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009586/0.0009586, allocations: 77.86 kB / 20.65 MB, free: 3.836 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.0009933/0.0009933, allocations: 165 kB / 24.05 MB, free: 452 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 1.015/1.015, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.652/0.652, allocations: 115 MB / 376 MB, free: 7.477 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.563e-05, allocations: 2.312 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.007746/0.007762, allocations: 10.42 MB / 492.4 MB, free: 4.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.01349, allocations: 4.196 MB / 496.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007615/0.01425, allocations: 44.78 kB / 496.6 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.01474, allocations: 240.2 kB / 496.9 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.01656, allocations: 0.9072 MB / 497.8 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.01892, allocations: 1.149 MB / 498.9 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003619/0.02254, allocations: 3.41 MB / 0.4906 GB, free: 15.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.02437, allocations: 1.215 MB / 0.4917 GB, free: 14.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.02784, allocations: 2.058 MB / 0.4938 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.03023, allocations: 1.784 MB / 0.4955 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.03045, allocations: 91.31 kB / 0.4956 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.03165, allocations: 0.6719 MB / 0.4962 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.0319, allocations: 309.1 kB / 0.4965 GB, free: 12.72 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.0323, allocations: 459.5 kB / 0.497 GB, free: 12.33 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.03361, allocations: 1.456 MB / 0.4984 GB, free: 11.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.03362, allocations: 0 / 0.4984 GB, free: 11.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.03362, allocations: 0 / 0.4984 GB, free: 11.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.03363, allocations: 0 / 0.4984 GB, free: 11.22 MB / 426.7 MB 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.001567/0.03519, allocations: 1.583 MB / 0.4999 GB, free: 9.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.03522, allocations: 12.03 kB / 0.5 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.03572, allocations: 241 kB / 0.5002 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.03642, allocations: 0.6869 MB / 0.5009 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.03646, allocations: 73.25 kB / 0.5009 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.03657, allocations: 92 kB / 0.501 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.03705, allocations: 0.5228 MB / 0.5015 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.03706, allocations: 3.938 kB / 0.5015 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.0371, allocations: 24 kB / 0.5016 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.03711, allocations: 16 kB / 0.5016 GB, free: 8.117 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.03737, allocations: 268.9 kB / 0.5018 GB, free: 7.852 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.03999, allocations: 2.536 MB / 0.5043 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.04022, allocations: 203.8 kB / 0.5045 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.04032, allocations: 104.1 kB / 0.5046 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.872e-05/0.0404, allocations: 31.31 kB / 0.5046 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.04042, allocations: 41.67 kB / 0.5047 GB, free: 4.859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.213e-06/0.04042, allocations: 0 / 0.5047 GB, free: 4.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005046/0.04092, allocations: 406.5 kB / 0.5051 GB, free: 4.457 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.04095, allocations: 55.41 kB / 0.5051 GB, free: 4.391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.04139, allocations: 0.7617 MB / 0.5058 GB, free: 3.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.04147, allocations: 45.64 kB / 0.5059 GB, free: 3.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.04175, allocations: 0.5275 MB / 0.5064 GB, free: 3.012 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.04181, allocations: 118.9 kB / 0.5065 GB, free: 2.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.04201, allocations: 216.3 kB / 0.5067 GB, free: 2.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.04212, allocations: 0.5004 MB / 0.5072 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.04224, allocations: 111.2 kB / 0.5073 GB, free: 2.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.04341, allocations: 2.283 MB / 0.5095 GB, free: 15.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.04372, allocations: 347 kB / 0.5099 GB, free: 14.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.04372, allocations: 0 / 0.5099 GB, free: 14.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005564/0.04427, allocations: 0.5084 MB / 0.5104 GB, free: 14.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.04428, allocations: 4 kB / 0.5104 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.04429, allocations: 4 kB / 0.5104 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.0443, allocations: 4.188 kB / 0.5104 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.04494, allocations: 235.6 kB / 0.5106 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.0461, allocations: 4.49 MB / 0.515 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.04707, allocations: 360.1 kB / 0.5153 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.04711, allocations: 23.98 kB / 0.5154 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002384/0.04735, allocations: 244.1 kB / 0.5156 GB, free: 8.734 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001141/0.04849, allocations: 2.317 MB / 0.5179 GB, free: 5.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003099/0.0488, allocations: 365.3 kB / 0.5182 GB, free: 5.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.04881, allocations: 0 / 0.5182 GB, free: 5.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0005543/0.04936, allocations: 0.5046 MB / 0.5187 GB, free: 4.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.04937, allocations: 7.938 kB / 0.5187 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.04937, allocations: 4 kB / 0.5187 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.04938, allocations: 7.938 kB / 0.5187 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.04971, allocations: 160.1 kB / 0.5189 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.04971, allocations: 8 kB / 0.5189 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.051, allocations: 484.3 kB / 0.5193 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.05103, allocations: 20 kB / 0.5194 GB, free: 4.152 MB / 442.7 MB 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.0001538/0.05119, allocations: 312.4 kB / 0.5197 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.05127, allocations: 107.3 kB / 0.5198 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/0.05188, allocations: 404 kB / 0.5201 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.05188, allocations: 11.98 kB / 0.5202 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.05189, allocations: 0 / 0.5202 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.05189, allocations: 0 / 0.5202 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.05287, allocations: 0.9454 MB / 0.5211 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.05288, allocations: 8 kB / 0.5211 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.05319, allocations: 111.8 kB / 0.5212 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.0532, allocations: 0 / 0.5212 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.05322, allocations: 15.98 kB / 0.5212 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.05454, allocations: 4.474 MB / 0.5256 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.05454, allocations: 0 / 0.5256 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.05495, allocations: 0.5361 MB / 0.5261 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.05509, allocations: 131.2 kB / 0.5262 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.05514, allocations: 16.31 kB / 0.5262 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.05534, allocations: 15.98 kB / 0.5263 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.05538, allocations: 27.95 kB / 0.5263 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.0554, allocations: 12.08 kB / 0.5263 GB, free: 12.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002575/0.05566, allocations: 455.5 kB / 0.5267 GB, free: 12.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05566, allocations: 0 / 0.5267 GB, free: 12.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007843/0.05644, allocations: 0.5067 MB / 0.5272 GB, free: 11.84 MB / 458.7 MB 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.0003385/0.05678, allocations: 218.7 kB / 0.5274 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.05779, allocations: 0.6678 MB / 0.5281 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0578, allocations: 0 / 0.5281 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.05803, allocations: 197 kB / 0.5283 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/0.05901, allocations: 344.2 kB / 0.5286 GB, free: 10.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.06076, allocations: 1.466 MB / 0.53 GB, free: 8.895 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.06086, allocations: 183.7 kB / 0.5302 GB, free: 8.691 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.06134, allocations: 158.1 kB / 0.5304 GB, free: 8.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/0.062, allocations: 421.8 kB / 0.5308 GB, free: 8.121 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.062, allocations: 0 / 0.5308 GB, free: 8.121 MB / 458.7 MB Notification: Performance of Templates: time 0.02742/0.08943, allocations: 23.38 MB / 0.5536 GB, free: 1.281 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.19286842783913]