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.001341/0.001341, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.001545/0.001545, allocations: 161 kB / 24.17 MB, free: 324 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.001/1.001, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.865/1.865, allocations: 389.6 MB / 0.6354 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.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.904e-06/1.904e-06, allocations: 1.203 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.644e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.02306/0.02309, allocations: 24.86 MB / 0.7994 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.03945, allocations: 10.05 MB / 0.8093 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/0.04272, allocations: 150.6 kB / 0.8094 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.04475, allocations: 0.7571 MB / 0.8101 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.04949, allocations: 2.593 MB / 0.8127 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.05426, allocations: 2.976 MB / 0.8156 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007582/0.06184, allocations: 7.083 MB / 0.8225 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.06469, allocations: 1.997 MB / 0.8244 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/0.07026, allocations: 3.519 MB / 0.8279 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.07267, allocations: 1.786 MB / 0.8296 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.07303, allocations: 248 kB / 0.8299 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.07448, allocations: 0.9405 MB / 0.8308 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0007397/0.07522, allocations: 0.7353 MB / 0.8315 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009744/0.0762, allocations: 0.9865 MB / 0.8325 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.07913, allocations: 2.557 MB / 0.835 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.07913, allocations: 1.594 kB / 0.835 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.573e-06/0.07913, allocations: 0 / 0.835 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.359e-05/0.07917, allocations: 0 / 0.835 GB, free: 8.137 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.002791/0.08196, allocations: 3.021 MB / 0.8379 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.08199, allocations: 13.34 kB / 0.8379 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.08249, allocations: 359.7 kB / 0.8383 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.08428, allocations: 1.481 MB / 0.8397 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.08464, allocations: 123 kB / 0.8398 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.0848, allocations: 183.9 kB / 0.84 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.08589, allocations: 1.37 MB / 0.8413 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.08593, allocations: 3.938 kB / 0.8413 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.08614, allocations: 64 kB / 0.8414 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.08618, allocations: 40 kB / 0.8414 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.08668, allocations: 403.4 kB / 0.8418 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/0.09131, allocations: 4.361 MB / 0.8461 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.09157, allocations: 240.5 kB / 0.8463 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.0917, allocations: 117.7 kB / 0.8464 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.09183, allocations: 44.45 kB / 0.8465 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.09186, allocations: 50.98 kB / 0.8465 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 3.787e-06/0.09186, allocations: 0 / 0.8465 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.0005445/0.09241, allocations: 397.8 kB / 0.8469 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.09244, allocations: 59.91 kB / 0.847 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.09359, allocations: 1.651 MB / 0.8486 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.09365, allocations: 45.7 kB / 0.8486 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.09405, allocations: 0.8251 MB / 0.8494 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.09417, allocations: 226.1 kB / 0.8496 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.09438, allocations: 246.7 kB / 0.8499 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.09448, allocations: 345.9 kB / 0.8502 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.09464, allocations: 116.9 kB / 0.8503 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.09512, allocations: 0.9366 MB / 0.8512 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.09586, allocations: 0.5657 MB / 0.8518 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.09586, allocations: 0 / 0.8518 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0006693/0.09653, allocations: 0.6389 MB / 0.8524 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.09655, allocations: 8 kB / 0.8524 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.09656, allocations: 8 kB / 0.8524 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.09658, allocations: 15.94 kB / 0.8524 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.09707, allocations: 247.6 kB / 0.8527 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.09708, allocations: 19.92 kB / 0.8527 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.09763, allocations: 131 kB / 0.8528 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.09768, allocations: 43.98 kB / 0.8529 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003361/0.09801, allocations: 208.4 kB / 0.8531 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004291/0.09844, allocations: 0.9409 MB / 0.854 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004373/0.09888, allocations: 0.5614 MB / 0.8545 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.09888, allocations: 4 kB / 0.8545 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006405/0.09952, allocations: 0.6333 MB / 0.8551 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.09954, allocations: 8 kB / 0.8551 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.09954, allocations: 8 kB / 0.8552 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.09955, allocations: 16 kB / 0.8552 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.1, allocations: 243.5 kB / 0.8554 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.1, allocations: 23.92 kB / 0.8554 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.1005, allocations: 103.7 kB / 0.8555 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.1006, allocations: 43.98 kB / 0.8556 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.0001521/0.1007, allocations: 248 kB / 0.8558 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.1009, allocations: 131.8 kB / 0.8559 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.1014, allocations: 479 kB / 0.8564 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.1014, allocations: 15.94 kB / 0.8564 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1014, allocations: 3.984 kB / 0.8564 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000231/0.1017, allocations: 316.1 kB / 0.8567 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.1031, allocations: 1.333 MB / 0.858 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1031, allocations: 0 / 0.858 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.1034, allocations: 119.9 kB / 0.8581 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1034, allocations: 7.938 kB / 0.8581 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.1034, allocations: 15.98 kB / 0.8581 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1034, allocations: 4 kB / 0.8581 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1034, allocations: 11.97 kB / 0.8582 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.1042, allocations: 0.6177 MB / 0.8588 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.1046, allocations: 250.4 kB / 0.859 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.1047, allocations: 15.98 kB / 0.859 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.105, allocations: 27.94 kB / 0.859 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.1051, allocations: 40.42 kB / 0.8591 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.1051, allocations: 23.97 kB / 0.8591 GB, free: 13.98 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000643/0.1058, allocations: 0.8463 MB / 0.8599 GB, free: 13.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.1058, allocations: 8 kB / 0.8599 GB, free: 13.11 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001635/0.1074, allocations: 1.056 MB / 0.861 GB, free: 12.05 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.001253/0.1087, allocations: 0.5566 MB / 0.8615 GB, free: 11.68 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007902/0.1094, allocations: 0.7301 MB / 0.8622 GB, free: 10.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-05/0.1095, allocations: 28.5 kB / 0.8623 GB, free: 10.92 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.1096, allocations: 161 kB / 0.8624 GB, free: 10.76 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.1119, allocations: 1.178 MB / 0.8636 GB, free: 9.625 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.1158, allocations: 3.248 MB / 0.8667 GB, free: 6.312 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.116, allocations: 381.8 kB / 0.8671 GB, free: 5.914 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000934/0.117, allocations: 376.4 kB / 0.8675 GB, free: 5.543 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.1183, allocations: 0.7449 MB / 0.8682 GB, free: 4.777 MB / 0.823 GB Notification: Performance of SimCode: time 1.202e-06/0.1183, allocations: 0 / 0.8682 GB, free: 4.777 MB / 0.823 GB Notification: Performance of Templates: time 0.05305/0.1713, allocations: 43.31 MB / 0.9105 GB, free: 10.56 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: 6.053810690995306]