Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 101 kB / 18.91 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 201.9 kB / 22.06 MB, free: 260 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 250.7 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.872/0.872, allocations: 128.4 MB / 434.1 MB, free: 6.176 MB / 334.1 MB [Timeout remaining time 89] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 72.11 kB / 0.6013 GB, free: 21.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.175, allocations: 83.24 MB / 0.6826 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03571/0.2107, allocations: 29.88 MB / 0.7117 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.2238, allocations: 8.023 MB / 0.7196 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.2252, allocations: 27.81 kB / 0.7196 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.2266, allocations: 456.9 kB / 0.72 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.2308, allocations: 1.404 MB / 0.7214 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.2341, allocations: 1.154 MB / 0.7225 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005213/0.2393, allocations: 3.501 MB / 0.7259 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.2414, allocations: 1.212 MB / 0.7271 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.2452, allocations: 1.733 MB / 0.7288 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.2489, allocations: 1.683 MB / 0.7305 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007573/0.2497, allocations: 128 kB / 0.7306 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.2523, allocations: 1.01 MB / 0.7316 GB, free: 472 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.253, allocations: 422.6 kB / 0.732 GB, free: 48 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.2544, allocations: 0.7429 MB / 0.7327 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.2579, allocations: 2.18 MB / 0.7348 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2579, allocations: 0 / 0.7348 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2579, allocations: 0 / 0.7348 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.834e-05/0.2579, allocations: 0 / 0.7348 GB, free: 13.11 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003187/0.2611, allocations: 1.681 MB / 0.7365 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2611, allocations: 12.03 kB / 0.7365 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.2616, allocations: 151.3 kB / 0.7366 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.2637, allocations: 0.9189 MB / 0.7375 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.2637, allocations: 81.31 kB / 0.7376 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.264, allocations: 116 kB / 0.7377 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2652, allocations: 0.6395 MB / 0.7383 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2652, allocations: 3.938 kB / 0.7383 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.2653, allocations: 27.92 kB / 0.7384 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.2653, allocations: 16 kB / 0.7384 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.2662, allocations: 456.9 kB / 0.7388 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.2715, allocations: 2.865 MB / 0.7416 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.2722, allocations: 288.2 kB / 0.7419 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.2725, allocations: 137.3 kB / 0.742 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.2729, allocations: 348.7 kB / 0.7424 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2729, allocations: 38.84 kB / 0.7424 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.2729, allocations: 0 / 0.7424 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001607/0.2745, allocations: 0.5327 MB / 0.7429 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2746, allocations: 55.41 kB / 0.743 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.2758, allocations: 0.8819 MB / 0.7438 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002196/0.276, allocations: 57.7 kB / 0.7439 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.2765, allocations: 479.3 kB / 0.7443 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2766, allocations: 122.9 kB / 0.7445 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/0.2771, allocations: 287.1 kB / 0.7447 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2772, allocations: 334.1 kB / 0.7451 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.2777, allocations: 193.4 kB / 0.7452 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.2793, allocations: 1.155 MB / 0.7464 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008903/0.2802, allocations: 455.4 kB / 0.7468 GB, free: 24 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2802, allocations: 0 / 0.7468 GB, free: 24 kB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00158/0.2817, allocations: 0.6583 MB / 0.7474 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2818, allocations: 10.34 kB / 0.7475 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2818, allocations: 0 / 0.7475 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2818, allocations: 8 kB / 0.7475 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2833, allocations: 231.8 kB / 0.7477 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.2854, allocations: 2.962 MB / 0.7506 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/0.2888, allocations: 0.6989 MB / 0.7513 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.289, allocations: 23.98 kB / 0.7513 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009183/0.2899, allocations: 373.2 kB / 0.7516 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001678/0.2916, allocations: 1.158 MB / 0.7528 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008872/0.2924, allocations: 468.8 kB / 0.7532 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.2924, allocations: 0 / 0.7532 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001808/0.2943, allocations: 0.6594 MB / 0.7539 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2943, allocations: 4 kB / 0.7539 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2943, allocations: 4 kB / 0.7539 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2943, allocations: 8 kB / 0.7539 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.2951, allocations: 159.8 kB / 0.754 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.2951, allocations: 8 kB / 0.754 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/0.2996, allocations: 0.9615 MB / 0.755 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.2997, allocations: 23.98 kB / 0.755 GB, free: 7.082 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004062/0.3001, allocations: 249 kB / 0.7552 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.3005, allocations: 95.39 kB / 0.7553 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.3018, allocations: 0.5157 MB / 0.7558 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3018, allocations: 4 kB / 0.7558 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3018, allocations: 0 / 0.7558 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3019, allocations: 0 / 0.7558 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.3042, allocations: 1.238 MB / 0.757 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.3042, allocations: 4 kB / 0.757 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.3048, allocations: 119.8 kB / 0.7572 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3048, allocations: 0 / 0.7572 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.3049, allocations: 15.94 kB / 0.7572 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.3069, allocations: 2.938 MB / 0.76 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3069, allocations: 7.969 kB / 0.76 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.308, allocations: 0.5678 MB / 0.7606 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.3084, allocations: 208.3 kB / 0.7608 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.3085, allocations: 8 kB / 0.7608 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.3089, allocations: 27.91 kB / 0.7608 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.309, allocations: 31.95 kB / 0.7609 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.309, allocations: 16 kB / 0.7609 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009163/0.31, allocations: 0.5917 MB / 0.7615 GB, free: 208 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.31, allocations: 0 / 0.7615 GB, free: 208 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.3485/0.6585, allocations: 0.5378 MB / 0.762 GB, free: 76.95 MB / 0.5762 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008783/0.6594, allocations: 324.7 kB / 0.7623 GB, free: 76.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003021/0.6624, allocations: 0.7985 MB / 0.7631 GB, free: 76.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6624, allocations: 0 / 0.7631 GB, free: 76.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.663, allocations: 217.9 kB / 0.7633 GB, free: 76.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.665, allocations: 414 kB / 0.7637 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.6676, allocations: 1.56 MB / 0.7652 GB, free: 76.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.6681, allocations: 1.02 MB / 0.7662 GB, free: 75.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.6684, allocations: 80.09 kB / 0.7663 GB, free: 75.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.103e-06/0.6684, allocations: 0.5625 kB / 0.7663 GB, free: 75.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.04866/0.7171, allocations: 35.83 MB / 0.8013 GB, free: 57.97 MB / 0.5762 GB [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 480]