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.0008468/0.0008468, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001433/0.001433, allocations: 171.5 kB / 25.05 MB, free: 9.211 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.9571/0.9571, allocations: 177.1 MB / 205.5 MB, free: 5.484 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.861/1.861, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.363e-06/1.363e-06, allocations: 0 / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.715e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.01771/0.01773, allocations: 24.92 MB / 0.8005 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.03169, allocations: 9.993 MB / 0.8102 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.03365, allocations: 155.4 kB / 0.8104 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.03506, allocations: 0.761 MB / 0.8111 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.03878, allocations: 2.55 MB / 0.8136 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.04302, allocations: 2.916 MB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005937/0.04895, allocations: 7.086 MB / 0.8234 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.05127, allocations: 2.005 MB / 0.8253 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.05428, allocations: 3.381 MB / 0.8286 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.05574, allocations: 1.782 MB / 0.8304 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004879/0.05623, allocations: 253.9 kB / 0.8306 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.05758, allocations: 0.9868 MB / 0.8316 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.05798, allocations: 0.7275 MB / 0.8323 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.05864, allocations: 0.9975 MB / 0.8333 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.06064, allocations: 2.55 MB / 0.8358 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.06064, allocations: 3.938 kB / 0.8358 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.072e-06/0.06064, allocations: 2.406 kB / 0.8358 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.06066, allocations: 0 / 0.8358 GB, free: 8.207 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.002381/0.06304, allocations: 3.015 MB / 0.8387 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.06307, allocations: 17.28 kB / 0.8387 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.0635, allocations: 364.8 kB / 0.8391 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.06511, allocations: 1.482 MB / 0.8405 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.06517, allocations: 123 kB / 0.8406 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.06532, allocations: 183.9 kB / 0.8408 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.06648, allocations: 1.359 MB / 0.8421 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.06651, allocations: 0 / 0.8421 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.06658, allocations: 64 kB / 0.8422 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.06661, allocations: 47.88 kB / 0.8422 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.06709, allocations: 399.5 kB / 0.8426 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.07139, allocations: 4.364 MB / 0.8469 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.07163, allocations: 248.5 kB / 0.8471 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.07175, allocations: 117.6 kB / 0.8472 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.07186, allocations: 40.47 kB / 0.8473 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.07189, allocations: 39.06 kB / 0.8473 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 1.944e-06/0.07189, allocations: 0 / 0.8473 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.0005014/0.07239, allocations: 397.8 kB / 0.8477 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.07243, allocations: 59.91 kB / 0.8478 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.07365, allocations: 1.651 MB / 0.8494 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.0737, allocations: 49.7 kB / 0.8494 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.07408, allocations: 0.8251 MB / 0.8502 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.07418, allocations: 226.1 kB / 0.8504 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.07438, allocations: 246.7 kB / 0.8507 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.07447, allocations: 357.8 kB / 0.851 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.07462, allocations: 112.9 kB / 0.8511 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.07532, allocations: 0.9288 MB / 0.852 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.07578, allocations: 0.5696 MB / 0.8526 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.07579, allocations: 4 kB / 0.8526 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0006441/0.07643, allocations: 0.6381 MB / 0.8532 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.07645, allocations: 8 kB / 0.8532 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.07646, allocations: 11.94 kB / 0.8532 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.07647, allocations: 20.72 kB / 0.8532 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.07697, allocations: 255.6 kB / 0.8535 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.07698, allocations: 23.94 kB / 0.8535 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.07744, allocations: 135 kB / 0.8536 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.07749, allocations: 35.98 kB / 0.8537 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003019/0.07779, allocations: 220.3 kB / 0.8539 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004276/0.07822, allocations: 0.9253 MB / 0.8548 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000426/0.07864, allocations: 0.5613 MB / 0.8553 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.07865, allocations: 4 kB / 0.8553 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006145/0.07926, allocations: 0.6374 MB / 0.856 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.07927, allocations: 8 kB / 0.856 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.07928, allocations: 11.98 kB / 0.856 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.07929, allocations: 16.06 kB / 0.856 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.07974, allocations: 263.5 kB / 0.8562 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.07975, allocations: 15.94 kB / 0.8563 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.08021, allocations: 111.4 kB / 0.8564 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.08025, allocations: 39.98 kB / 0.8564 GB, free: 1.746 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.0001277/0.08038, allocations: 251.8 kB / 0.8566 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.08051, allocations: 131.8 kB / 0.8568 GB, free: 1.363 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/0.08102, allocations: 479 kB / 0.8572 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.08103, allocations: 11.94 kB / 0.8572 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.08103, allocations: 0 / 0.8572 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002267/0.08126, allocations: 316.4 kB / 0.8575 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.08283, allocations: 1.333 MB / 0.8588 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.08283, allocations: 0 / 0.8588 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.08312, allocations: 135.8 kB / 0.859 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.08313, allocations: 11.92 kB / 0.859 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.08315, allocations: 19.98 kB / 0.859 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.08316, allocations: 4 kB / 0.859 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.08316, allocations: 0 / 0.859 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.08368, allocations: 0.6255 MB / 0.8596 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.08397, allocations: 250.3 kB / 0.8599 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.08406, allocations: 16.06 kB / 0.8599 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.0844, allocations: 35.91 kB / 0.8599 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.08446, allocations: 40.42 kB / 0.8599 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.08449, allocations: 27.97 kB / 0.86 GB, free: 13.98 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005928/0.08508, allocations: 0.8425 MB / 0.8608 GB, free: 13.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.1e-08/0.08508, allocations: 0 / 0.8608 GB, free: 13.12 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001213/0.0863, allocations: 1.056 MB / 0.8618 GB, free: 12.06 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.001097/0.08739, allocations: 0.5695 MB / 0.8624 GB, free: 11.68 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.08807, allocations: 0.7257 MB / 0.8631 GB, free: 10.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.938e-05/0.08809, allocations: 24.5 kB / 0.8631 GB, free: 10.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.08824, allocations: 161.5 kB / 0.8633 GB, free: 10.77 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.09026, allocations: 1.186 MB / 0.8644 GB, free: 9.629 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.09373, allocations: 3.24 MB / 0.8676 GB, free: 6.324 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.094, allocations: 385.8 kB / 0.868 GB, free: 5.922 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007676/0.09476, allocations: 356.5 kB / 0.8683 GB, free: 5.57 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.09603, allocations: 0.7604 MB / 0.869 GB, free: 4.789 MB / 0.823 GB Notification: Performance of SimCode: time 1.002e-06/0.09603, allocations: 0 / 0.869 GB, free: 4.789 MB / 0.823 GB Notification: Performance of Templates: time 0.04662/0.1427, allocations: 43.33 MB / 0.9114 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.809456899762154]