Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001852/0.001852, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002819/0.002819, allocations: 220 kB / 23.02 MB, free: 2.965 MB / 13.93 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.774/1.774, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 3.474/3.474, allocations: 0.5045 GB / 0.8104 GB, free: 2.836 MB / 0.6511 GB " [Timeout remaining time 176] 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003728/0.003728, allocations: 77.34 kB / 1.177 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4374, allocations: 180 MB / 1.353 GB, free: 8.75 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02077/0.4581, allocations: 14.47 MB / 1.367 GB, free: 10.22 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.008131/0.4663, allocations: 4.096 MB / 1.371 GB, free: 6.113 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000947/0.4672, allocations: 23.81 kB / 1.371 GB, free: 6.09 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.4684, allocations: 250.4 kB / 1.371 GB, free: 5.844 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.4707, allocations: 0.6736 MB / 1.372 GB, free: 5.168 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.4729, allocations: 0.7087 MB / 1.373 GB, free: 4.469 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.4747, allocations: 1.005 MB / 1.374 GB, free: 3.461 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.4753, allocations: 264.4 kB / 1.374 GB, free: 3.191 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.4765, allocations: 486 kB / 1.374 GB, free: 2.715 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.4772, allocations: 306.6 kB / 1.375 GB, free: 2.414 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.4773, allocations: 28 kB / 1.375 GB, free: 2.387 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.4786, allocations: 0.5264 MB / 1.375 GB, free: 1.859 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.4787, allocations: 107.5 kB / 1.375 GB, free: 1.754 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.4791, allocations: 186.9 kB / 1.375 GB, free: 1.57 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.4808, allocations: 0.7549 MB / 1.376 GB, free: 0.8125 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.4808, allocations: 4 kB / 1.376 GB, free: 0.8086 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4808, allocations: 4 kB / 1.376 GB, free: 0.8047 MB / 1.057 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.4809, allocations: 0 / 1.376 GB, free: 0.8047 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00165/0.4825, allocations: 0.7607 MB / 1.377 GB, free: 12 kB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4826, allocations: 8.922 kB / 1.377 GB, free: 4 kB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.4828, allocations: 60.66 kB / 1.377 GB, free: 15.94 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/0.4836, allocations: 366.6 kB / 1.377 GB, free: 15.57 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.4836, allocations: 20.44 kB / 1.377 GB, free: 15.55 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.4837, allocations: 28 kB / 1.377 GB, free: 15.52 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.4843, allocations: 215.2 kB / 1.378 GB, free: 15.3 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4843, allocations: 0 / 1.378 GB, free: 15.3 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.4843, allocations: 12 kB / 1.378 GB, free: 15.29 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.4843, allocations: 4 kB / 1.378 GB, free: 15.29 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.4847, allocations: 161.6 kB / 1.378 GB, free: 15.13 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.4865, allocations: 0.6983 MB / 1.378 GB, free: 14.4 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.4869, allocations: 122.6 kB / 1.379 GB, free: 14.27 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.4871, allocations: 68.81 kB / 1.379 GB, free: 14.2 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.4873, allocations: 43.97 kB / 1.379 GB, free: 14.16 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.4873, allocations: 34.56 kB / 1.379 GB, free: 14.11 MB / 1.073 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.4873, allocations: 0 / 1.379 GB, free: 14.11 MB / 1.073 GB Notification: Performance of matching and sorting (n=14): time 0.0007264/0.4881, allocations: 229.3 kB / 1.379 GB, free: 13.88 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.4881, allocations: 59.34 kB / 1.379 GB, free: 13.81 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.4888, allocations: 441.8 kB / 1.379 GB, free: 13.37 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.4888, allocations: 29.7 kB / 1.379 GB, free: 13.34 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.489, allocations: 232.6 kB / 1.38 GB, free: 13.11 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.4891, allocations: 39.64 kB / 1.38 GB, free: 13.07 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.4892, allocations: 69.64 kB / 1.38 GB, free: 12.99 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4894, allocations: 350.8 kB / 1.38 GB, free: 12.64 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.4896, allocations: 72.67 kB / 1.38 GB, free: 12.57 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.4901, allocations: 408.7 kB / 1.381 GB, free: 12.08 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.4905, allocations: 168.7 kB / 1.381 GB, free: 11.91 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4905, allocations: 0 / 1.381 GB, free: 11.91 MB / 1.073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006241/0.4911, allocations: 253.2 kB / 1.381 GB, free: 11.65 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4911, allocations: 8 kB / 1.381 GB, free: 11.64 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4912, allocations: 0 / 1.381 GB, free: 11.64 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.4912, allocations: 3.984 kB / 1.381 GB, free: 11.64 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.4914, allocations: 43.92 kB / 1.381 GB, free: 11.6 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.4914, allocations: 7.984 kB / 1.381 GB, free: 11.59 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.4918, allocations: 27.97 kB / 1.381 GB, free: 11.56 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.4918, allocations: 19.92 kB / 1.381 GB, free: 11.54 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003144/0.4921, allocations: 192.1 kB / 1.381 GB, free: 11.35 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004354/0.4926, allocations: 413.5 kB / 1.382 GB, free: 10.86 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003867/0.4929, allocations: 170.4 kB / 1.382 GB, free: 10.68 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.4929, allocations: 0 / 1.382 GB, free: 10.68 MB / 1.073 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000573/0.4935, allocations: 257.2 kB / 1.382 GB, free: 10.42 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4935, allocations: 8 kB / 1.382 GB, free: 10.41 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4935, allocations: 0 / 1.382 GB, free: 10.41 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.4935, allocations: 0 / 1.382 GB, free: 10.41 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4938, allocations: 51.91 kB / 1.382 GB, free: 10.36 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4938, allocations: 4 kB / 1.382 GB, free: 10.36 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.4941, allocations: 39.86 kB / 1.382 GB, free: 10.32 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.4941, allocations: 12.05 kB / 1.382 GB, free: 10.3 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.4943, allocations: 204.1 kB / 1.382 GB, free: 10.1 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.4944, allocations: 39.72 kB / 1.382 GB, free: 10.06 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.4951, allocations: 247.4 kB / 1.383 GB, free: 9.809 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4951, allocations: 0 / 1.383 GB, free: 9.809 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.4951, allocations: 11.92 kB / 1.383 GB, free: 9.797 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4951, allocations: 0 / 1.383 GB, free: 9.797 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.4963, allocations: 0.6067 MB / 1.383 GB, free: 9.141 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4963, allocations: 0 / 1.383 GB, free: 9.141 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.4965, allocations: 31.97 kB / 1.383 GB, free: 9.109 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4965, allocations: 0 / 1.383 GB, free: 9.109 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4965, allocations: 8 kB / 1.383 GB, free: 9.102 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4965, allocations: 0 / 1.383 GB, free: 9.102 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.4965, allocations: 7.938 kB / 1.383 GB, free: 9.094 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.4971, allocations: 350.5 kB / 1.384 GB, free: 8.723 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.4972, allocations: 59.67 kB / 1.384 GB, free: 8.664 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.4973, allocations: 8 kB / 1.384 GB, free: 8.656 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.4975, allocations: 11.98 kB / 1.384 GB, free: 8.645 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.4975, allocations: 15.92 kB / 1.384 GB, free: 8.629 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4976, allocations: 16.06 kB / 1.384 GB, free: 8.613 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0004163/0.498, allocations: 299.1 kB / 1.384 GB, free: 8.324 MB / 1.073 GB Notification: Performance of sort global known variables: time 6e-08/0.498, allocations: 0 / 1.384 GB, free: 8.324 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0008228/0.4988, allocations: 211.5 kB / 1.384 GB, free: 8.117 MB / 1.073 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002886/0.5017, allocations: 495.2 kB / 1.385 GB, free: 7.781 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0009482/0.5026, allocations: 259.8 kB / 1.385 GB, free: 7.527 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/0.5027, allocations: 4 kB / 1.385 GB, free: 7.523 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.5029, allocations: 79.83 kB / 1.385 GB, free: 7.445 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.504, allocations: 168.2 kB / 1.385 GB, free: 7.281 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.5058, allocations: 0.705 MB / 1.386 GB, free: 6.535 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.5061, allocations: 223.8 kB / 1.386 GB, free: 6.297 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0003928/0.5065, allocations: 87.14 kB / 1.386 GB, free: 6.207 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5067, allocations: 39.42 kB / 1.386 GB, free: 6.168 MB / 1.073 GB Notification: Performance of SimCode: time 1.673e-06/0.5067, allocations: 3.938 kB / 1.386 GB, free: 6.164 MB / 1.073 GB Notification: Performance of Templates: time 0.01966/0.5263, allocations: 8.665 MB / 1.395 GB, free: 13.7 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.94753803126514]