Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.002285/0.002285, 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.002177/0.002177, allocations: 209 kB / 23.02 MB, free: 2.957 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.715/1.715, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.417/3.417, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003888/0.003888, allocations: 71.89 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9517/0.9556, allocations: 180 MB / 1.353 GB, free: 1.594 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02397/0.9795, allocations: 16.31 MB / 1.369 GB, free: 1.223 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.008745/0.9883, allocations: 4.656 MB / 1.373 GB, free: 12.56 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006781/0.989, allocations: 23.81 kB / 1.373 GB, free: 12.54 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.9902, allocations: 254.4 kB / 1.374 GB, free: 12.29 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.9925, allocations: 0.6631 MB / 1.374 GB, free: 11.62 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.995, allocations: 0.7401 MB / 1.375 GB, free: 10.89 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.9967, allocations: 0.9621 MB / 1.376 GB, free: 9.922 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.9972, allocations: 272.9 kB / 1.376 GB, free: 9.645 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009731/0.9981, allocations: 490 kB / 1.377 GB, free: 9.164 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005326/0.9987, allocations: 302.6 kB / 1.377 GB, free: 8.867 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.9988, allocations: 32 kB / 1.377 GB, free: 8.836 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/1, allocations: 0.6044 MB / 1.378 GB, free: 8.23 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/1, allocations: 135.5 kB / 1.378 GB, free: 8.098 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/1.001, allocations: 195 kB / 1.378 GB, free: 7.906 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/1.002, allocations: 0.8678 MB / 1.379 GB, free: 7.035 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.002, allocations: 0 / 1.379 GB, free: 7.035 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.194e-06/1.002, allocations: 4 kB / 1.379 GB, free: 7.031 MB / 1.057 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.002, allocations: 0 / 1.379 GB, free: 7.031 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001509/1.003, allocations: 0.8167 MB / 1.38 GB, free: 6.184 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.004, allocations: 16.91 kB / 1.38 GB, free: 6.168 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/1.004, allocations: 60.56 kB / 1.38 GB, free: 6.109 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007326/1.004, allocations: 406.9 kB / 1.38 GB, free: 5.688 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/1.004, allocations: 24.44 kB / 1.38 GB, free: 5.664 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/1.005, allocations: 32 kB / 1.38 GB, free: 5.633 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/1.005, allocations: 281.2 kB / 1.38 GB, free: 5.34 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.005, allocations: 0 / 1.38 GB, free: 5.34 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/1.005, allocations: 12 kB / 1.38 GB, free: 5.328 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.005, allocations: 15.94 kB / 1.38 GB, free: 5.312 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/1.006, allocations: 185.8 kB / 1.381 GB, free: 5.129 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/1.008, allocations: 1.182 MB / 1.382 GB, free: 3.898 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/1.008, allocations: 142.8 kB / 1.382 GB, free: 3.75 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/1.008, allocations: 84.8 kB / 1.382 GB, free: 3.664 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/1.01, allocations: 0.5273 MB / 1.382 GB, free: 3.117 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/1.01, allocations: 30.56 kB / 1.382 GB, free: 3.078 MB / 1.057 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.01, allocations: 0 / 1.382 GB, free: 3.078 MB / 1.057 GB Notification: Performance of matching and sorting (n=15): time 0.0007226/1.01, allocations: 263.6 kB / 1.383 GB, free: 2.816 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.01, allocations: 55.41 kB / 1.383 GB, free: 2.75 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/1.011, allocations: 0.5527 MB / 1.383 GB, free: 2.188 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/1.011, allocations: 33.7 kB / 1.383 GB, free: 2.148 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/1.012, allocations: 272.3 kB / 1.384 GB, free: 1.879 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/1.012, allocations: 47.59 kB / 1.384 GB, free: 1.832 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.012, allocations: 73.92 kB / 1.384 GB, free: 1.75 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002194/1.012, allocations: 354.8 kB / 1.384 GB, free: 1.395 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.012, allocations: 81.94 kB / 1.384 GB, free: 1.312 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/1.013, allocations: 446 kB / 1.385 GB, free: 0.7734 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/1.013, allocations: 239 kB / 1.385 GB, free: 0.5078 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.013, allocations: 0 / 1.385 GB, free: 0.5078 MB / 1.057 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000637/1.014, allocations: 305.1 kB / 1.385 GB, free: 208 kB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.014, allocations: 11.94 kB / 1.385 GB, free: 196 kB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.014, allocations: 7.938 kB / 1.385 GB, free: 188 kB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.014, allocations: 7.984 kB / 1.385 GB, free: 180 kB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/1.014, allocations: 59.91 kB / 1.385 GB, free: 120 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.014, allocations: 4 kB / 1.385 GB, free: 116 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/1.014, allocations: 40.08 kB / 1.385 GB, free: 76 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.014, allocations: 15.98 kB / 1.385 GB, free: 60 kB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003867/1.015, allocations: 216.6 kB / 1.385 GB, free: 15.84 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005807/1.015, allocations: 446.3 kB / 1.386 GB, free: 15.3 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004715/1.016, allocations: 231.2 kB / 1.386 GB, free: 15.05 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/1.016, allocations: 0 / 1.386 GB, free: 15.05 MB / 1.073 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006482/1.016, allocations: 307 kB / 1.386 GB, free: 14.74 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.017, allocations: 12 kB / 1.386 GB, free: 14.73 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/1.017, allocations: 0 / 1.386 GB, free: 14.73 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/1.017, allocations: 11.94 kB / 1.386 GB, free: 14.72 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/1.017, allocations: 55.91 kB / 1.386 GB, free: 14.66 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/1.017, allocations: 11.92 kB / 1.386 GB, free: 14.65 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/1.017, allocations: 39.83 kB / 1.386 GB, free: 14.61 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/1.017, allocations: 15.98 kB / 1.386 GB, free: 14.6 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001882/1.017, allocations: 208.1 kB / 1.387 GB, free: 14.39 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/1.017, allocations: 43.72 kB / 1.387 GB, free: 14.34 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/1.018, allocations: 257.3 kB / 1.387 GB, free: 14.08 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.018, allocations: 7.984 kB / 1.387 GB, free: 14.07 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.018, allocations: 0 / 1.387 GB, free: 14.07 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.018, allocations: 0 / 1.387 GB, free: 14.07 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/1.019, allocations: 0.6455 MB / 1.388 GB, free: 13.38 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.019, allocations: 3.938 kB / 1.388 GB, free: 13.38 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/1.019, allocations: 31.98 kB / 1.388 GB, free: 13.34 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.019, allocations: 0 / 1.388 GB, free: 13.34 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/1.019, allocations: 8 kB / 1.388 GB, free: 13.34 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.019, allocations: 4 kB / 1.388 GB, free: 13.33 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.019, allocations: 0 / 1.388 GB, free: 13.33 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/1.02, allocations: 364.5 kB / 1.388 GB, free: 12.95 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.02, allocations: 67.62 kB / 1.388 GB, free: 12.88 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/1.02, allocations: 4 kB / 1.388 GB, free: 12.88 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/1.02, allocations: 11.98 kB / 1.388 GB, free: 12.87 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.02, allocations: 15.97 kB / 1.388 GB, free: 12.85 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.02, allocations: 8 kB / 1.388 GB, free: 12.84 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0005113/1.021, allocations: 394.8 kB / 1.388 GB, free: 12.46 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/1.021, allocations: 0 / 1.388 GB, free: 12.46 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007911/1.022, allocations: 239.5 kB / 1.389 GB, free: 12.23 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 (17): * Single equations (assignments): 15 * 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.00291/1.025, allocations: 0.5102 MB / 1.389 GB, free: 11.86 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0008127/1.025, allocations: 311.5 kB / 1.39 GB, free: 11.56 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.025, allocations: 0 / 1.39 GB, free: 11.56 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/1.026, allocations: 88.83 kB / 1.39 GB, free: 11.48 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.027, allocations: 216.3 kB / 1.39 GB, free: 11.27 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/1.028, allocations: 0.8209 MB / 1.391 GB, free: 10.41 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.029, allocations: 234.1 kB / 1.391 GB, free: 10.15 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0003225/1.029, allocations: 95.33 kB / 1.391 GB, free: 10.05 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/1.029, allocations: 43.38 kB / 1.391 GB, free: 10.01 MB / 1.073 GB Notification: Performance of SimCode: time 1.002e-06/1.029, allocations: 0 / 1.391 GB, free: 10.01 MB / 1.073 GB Notification: Performance of Templates: time 0.02142/1.051, allocations: 10.66 MB / 1.401 GB, free: 15.59 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.718737972900271]