Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.0009094/0.0009094, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001089/0.001089, allocations: 169.2 kB / 24.96 MB, free: 8.121 MB / 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.9459/0.9459, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.855/1.855, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.259e-05, allocations: 2.969 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.0193/0.01932, allocations: 24.93 MB / 0.8003 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.03596, allocations: 10.04 MB / 0.8101 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.03958, allocations: 154.6 kB / 0.8103 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.04203, allocations: 0.7618 MB / 0.811 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.04827, allocations: 2.557 MB / 0.8135 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.05369, allocations: 2.952 MB / 0.8164 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007942/0.06164, allocations: 7.089 MB / 0.8233 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.06514, allocations: 2.005 MB / 0.8253 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005781/0.07092, allocations: 3.385 MB / 0.8286 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.07362, allocations: 1.773 MB / 0.8303 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005486/0.07417, allocations: 248 kB / 0.8305 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.07631, allocations: 0.9846 MB / 0.8315 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00062/0.07693, allocations: 0.7353 MB / 0.8322 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.07851, allocations: 0.9858 MB / 0.8332 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.08395, allocations: 2.561 MB / 0.8357 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.08396, allocations: 1.062 kB / 0.8357 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.293e-06/0.08396, allocations: 0 / 0.8357 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000113/0.08407, allocations: 1.531 kB / 0.8357 GB, free: 8.164 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005619/0.08969, allocations: 3.017 MB / 0.8386 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.08973, allocations: 13.28 kB / 0.8386 GB, free: 5.098 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006494/0.09038, allocations: 363.7 kB / 0.839 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.09246, allocations: 1.484 MB / 0.8404 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.09253, allocations: 127 kB / 0.8406 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.09268, allocations: 176 kB / 0.8407 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.09405, allocations: 1.368 MB / 0.8421 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.09408, allocations: 0 / 0.8421 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/0.09415, allocations: 64 kB / 0.8421 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.058e-05/0.0942, allocations: 41.06 kB / 0.8422 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005375/0.09474, allocations: 408.5 kB / 0.8426 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.09938, allocations: 4.368 MB / 0.8468 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.09965, allocations: 238.9 kB / 0.847 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.09976, allocations: 117.7 kB / 0.8472 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.09989, allocations: 40.47 kB / 0.8472 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.09992, allocations: 39.06 kB / 0.8472 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 3.497e-06/0.09992, allocations: 8 kB / 0.8472 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.0005786/0.1005, allocations: 397.8 kB / 0.8476 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.1005, allocations: 59.91 kB / 0.8477 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.1018, allocations: 1.647 MB / 0.8493 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.1019, allocations: 49.7 kB / 0.8493 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.1023, allocations: 0.8327 MB / 0.8501 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.1024, allocations: 226.1 kB / 0.8504 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.1026, allocations: 246.7 kB / 0.8506 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.1027, allocations: 349.8 kB / 0.8509 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1028, allocations: 108.9 kB / 0.851 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.1033, allocations: 0.9328 MB / 0.8519 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.1038, allocations: 0.5696 MB / 0.8525 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1038, allocations: 4 kB / 0.8525 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0006865/0.1044, allocations: 0.6348 MB / 0.8531 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1045, allocations: 12 kB / 0.8531 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1045, allocations: 11.98 kB / 0.8532 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1045, allocations: 15.94 kB / 0.8532 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.105, allocations: 259.6 kB / 0.8534 GB, free: 5.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1051, allocations: 15.94 kB / 0.8534 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.1056, allocations: 135 kB / 0.8536 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.1057, allocations: 44.2 kB / 0.8536 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003301/0.106, allocations: 212.3 kB / 0.8538 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004308/0.1065, allocations: 0.9331 MB / 0.8547 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005775/0.107, allocations: 0.5574 MB / 0.8553 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.107, allocations: 4 kB / 0.8553 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006258/0.1077, allocations: 0.6331 MB / 0.8559 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1077, allocations: 8 kB / 0.8559 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1077, allocations: 11.98 kB / 0.8559 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1077, allocations: 16.28 kB / 0.8559 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.1082, allocations: 263.5 kB / 0.8562 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1082, allocations: 20.44 kB / 0.8562 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.1087, allocations: 115.4 kB / 0.8563 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.1088, allocations: 35.98 kB / 0.8563 GB, free: 1.723 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0001683/0.1089, allocations: 247.9 kB / 0.8566 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.1091, allocations: 135.8 kB / 0.8567 GB, free: 1.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005871/0.1097, allocations: 487 kB / 0.8572 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1097, allocations: 11.94 kB / 0.8572 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1097, allocations: 0 / 0.8572 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002276/0.1099, allocations: 312.1 kB / 0.8575 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.1114, allocations: 1.341 MB / 0.8588 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1114, allocations: 4 kB / 0.8588 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.1117, allocations: 135.8 kB / 0.8589 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1118, allocations: 12.03 kB / 0.8589 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.1118, allocations: 12 kB / 0.8589 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1118, allocations: 3.984 kB / 0.8589 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1118, allocations: 4 kB / 0.8589 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.1124, allocations: 0.6216 MB / 0.8595 GB, free: 14.31 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.1127, allocations: 242.4 kB / 0.8598 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1128, allocations: 16 kB / 0.8598 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.1131, allocations: 39.91 kB / 0.8598 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.1132, allocations: 40.42 kB / 0.8599 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.1132, allocations: 27.97 kB / 0.8599 GB, free: 13.95 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006391/0.1139, allocations: 0.8386 MB / 0.8607 GB, free: 13.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.1139, allocations: 0 / 0.8607 GB, free: 13.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001496/0.1154, allocations: 1.06 MB / 0.8618 GB, free: 12.03 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001434/0.1168, allocations: 0.5581 MB / 0.8623 GB, free: 11.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008806/0.1177, allocations: 0.7253 MB / 0.863 GB, free: 10.93 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.48e-05/0.1177, allocations: 24.5 kB / 0.863 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.1179, allocations: 161 kB / 0.8632 GB, free: 10.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.1201, allocations: 1.19 MB / 0.8643 GB, free: 9.602 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.1242, allocations: 3.244 MB / 0.8675 GB, free: 6.293 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1245, allocations: 385.8 kB / 0.8679 GB, free: 5.891 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001066/0.1256, allocations: 356.5 kB / 0.8682 GB, free: 5.539 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/0.1269, allocations: 0.7487 MB / 0.869 GB, free: 4.77 MB / 0.823 GB Notification: Performance of SimCode: time 2.014e-06/0.1269, allocations: 0 / 0.869 GB, free: 4.77 MB / 0.823 GB Notification: Performance of Templates: time 0.05305/0.18, allocations: 43.31 MB / 0.9112 GB, free: 10.55 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.840856243856251]