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.001073/0.001073, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001153/0.001153, allocations: 161.4 kB / 24.16 MB, free: 332 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 0.9822/0.9822, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.94/1.94, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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.202e-06/1.202e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.615e-05, allocations: 3.219 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.01802/0.01804, allocations: 24.93 MB / 0.7995 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.03351, allocations: 10.04 MB / 0.8093 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.03592, allocations: 150.7 kB / 0.8095 GB, free: 2.293 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.03747, allocations: 0.761 MB / 0.8102 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.04146, allocations: 2.558 MB / 0.8127 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005456/0.04691, allocations: 2.955 MB / 0.8156 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007694/0.05461, allocations: 7.083 MB / 0.8225 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.05768, allocations: 2.012 MB / 0.8245 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004515/0.06219, allocations: 3.382 MB / 0.8278 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.06447, allocations: 1.785 MB / 0.8295 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005228/0.065, allocations: 248 kB / 0.8298 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.0667, allocations: 0.9759 MB / 0.8307 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005491/0.06725, allocations: 0.7358 MB / 0.8314 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.06847, allocations: 0.9833 MB / 0.8324 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003345/0.07181, allocations: 2.573 MB / 0.8349 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.07182, allocations: 0 / 0.8349 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.282e-06/0.07182, allocations: 0 / 0.8349 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.698e-05/0.07191, allocations: 1.281 kB / 0.8349 GB, free: 8.191 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.00346/0.07537, allocations: 3.012 MB / 0.8379 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.07541, allocations: 10.78 kB / 0.8379 GB, free: 5.133 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/0.0764, allocations: 363.7 kB / 0.8382 GB, free: 4.777 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.0784, allocations: 1.491 MB / 0.8397 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.07847, allocations: 123 kB / 0.8398 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.07877, allocations: 172 kB / 0.84 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.08002, allocations: 1.37 MB / 0.8413 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.08005, allocations: 3.984 kB / 0.8413 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.08012, allocations: 67.98 kB / 0.8414 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.08017, allocations: 40 kB / 0.8414 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.0807, allocations: 407.4 kB / 0.8418 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/0.08575, allocations: 4.353 MB / 0.846 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.08603, allocations: 240.4 kB / 0.8463 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.08616, allocations: 117.7 kB / 0.8464 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.08629, allocations: 48.47 kB / 0.8464 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.08632, allocations: 43.05 kB / 0.8465 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/0.08632, allocations: 4 kB / 0.8465 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.0006/0.08692, allocations: 393.8 kB / 0.8468 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.08695, allocations: 59.91 kB / 0.8469 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.08819, allocations: 1.647 MB / 0.8485 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.08824, allocations: 53.64 kB / 0.8486 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.08865, allocations: 0.829 MB / 0.8494 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.08877, allocations: 226 kB / 0.8496 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.08899, allocations: 246.7 kB / 0.8498 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.08909, allocations: 353.8 kB / 0.8502 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.08952, allocations: 116.9 kB / 0.8503 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.08998, allocations: 0.925 MB / 0.8512 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.09046, allocations: 0.5696 MB / 0.8517 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.09046, allocations: 0 / 0.8517 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0006818/0.09114, allocations: 0.6346 MB / 0.8524 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.09116, allocations: 12 kB / 0.8524 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.09117, allocations: 8 kB / 0.8524 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.09119, allocations: 19.94 kB / 0.8524 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.09175, allocations: 263.5 kB / 0.8526 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.09176, allocations: 15.98 kB / 0.8527 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/0.09234, allocations: 143.4 kB / 0.8528 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.09239, allocations: 39.98 kB / 0.8528 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003394/0.09273, allocations: 212.3 kB / 0.853 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004369/0.09317, allocations: 0.9318 MB / 0.8539 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004576/0.09363, allocations: 0.5652 MB / 0.8545 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.968e-06/0.09363, allocations: 4 kB / 0.8545 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006604/0.09429, allocations: 0.6292 MB / 0.8551 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.0943, allocations: 8 kB / 0.8551 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.09431, allocations: 11.98 kB / 0.8551 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.09432, allocations: 16.78 kB / 0.8552 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.09482, allocations: 255.6 kB / 0.8554 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.09483, allocations: 27.92 kB / 0.8554 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.09536, allocations: 107.4 kB / 0.8555 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.09541, allocations: 39.98 kB / 0.8556 GB, free: 1.75 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.0001556/0.09556, allocations: 244 kB / 0.8558 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.0957, allocations: 139.8 kB / 0.8559 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.09628, allocations: 487 kB / 0.8564 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.09629, allocations: 7.938 kB / 0.8564 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.09629, allocations: 0 / 0.8564 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005266/0.09682, allocations: 312.2 kB / 0.8567 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.09834, allocations: 1.337 MB / 0.858 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.09835, allocations: 0 / 0.858 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.09867, allocations: 143.8 kB / 0.8581 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.09867, allocations: 7.938 kB / 0.8581 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.0987, allocations: 12 kB / 0.8582 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.0987, allocations: 4 kB / 0.8582 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0987, allocations: 0 / 0.8582 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.09927, allocations: 0.6294 MB / 0.8588 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.09959, allocations: 246.4 kB / 0.859 GB, free: 14.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.0997, allocations: 16 kB / 0.859 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.1, allocations: 35.94 kB / 0.8591 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.1001, allocations: 40.41 kB / 0.8591 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.1001, allocations: 19.98 kB / 0.8591 GB, free: 13.99 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006605/0.1008, allocations: 0.8425 MB / 0.8599 GB, free: 13.13 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.1008, allocations: 0 / 0.8599 GB, free: 13.13 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00148/0.1023, allocations: 1.06 MB / 0.861 GB, free: 12.07 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.001278/0.1036, allocations: 0.5585 MB / 0.8615 GB, free: 11.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008258/0.1044, allocations: 0.7328 MB / 0.8622 GB, free: 10.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.318e-05/0.1044, allocations: 24.5 kB / 0.8623 GB, free: 10.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1046, allocations: 158.7 kB / 0.8624 GB, free: 10.78 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.1068, allocations: 1.175 MB / 0.8636 GB, free: 9.645 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.1104, allocations: 3.256 MB / 0.8667 GB, free: 6.324 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1107, allocations: 381.8 kB / 0.8671 GB, free: 5.926 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000882/0.1116, allocations: 364.5 kB / 0.8675 GB, free: 5.566 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.1129, allocations: 0.7487 MB / 0.8682 GB, free: 4.797 MB / 0.823 GB Notification: Performance of SimCode: time 1.202e-06/0.1129, allocations: 0 / 0.8682 GB, free: 4.797 MB / 0.823 GB Notification: Performance of Templates: time 0.09235/0.2053, allocations: 43.31 MB / 0.9105 GB, free: 10.58 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.018681894987822]