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.001413/0.001413, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001034/0.001034, allocations: 168.4 kB / 24.97 MB, free: 9.18 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.9782/0.9782, allocations: 177.1 MB / 205.4 MB, free: 5.48 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 2.013/2.013, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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 3.677e-06/3.677e-06, allocations: 4 kB / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.657e-05, allocations: 7.844 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.01852/0.01855, allocations: 24.92 MB / 0.8003 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.03239, allocations: 10.04 MB / 0.8101 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.03418, allocations: 156.3 kB / 0.8103 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.03572, allocations: 0.7522 MB / 0.811 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.04017, allocations: 2.562 MB / 0.8135 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004808/0.04498, allocations: 2.947 MB / 0.8164 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005984/0.05097, allocations: 7.102 MB / 0.8233 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.05346, allocations: 1.997 MB / 0.8253 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.05718, allocations: 3.387 MB / 0.8286 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.05903, allocations: 1.782 MB / 0.8303 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002857/0.05932, allocations: 248 kB / 0.8306 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.06076, allocations: 0.9802 MB / 0.8315 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.0612, allocations: 0.7314 MB / 0.8322 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008713/0.06208, allocations: 0.987 MB / 0.8332 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.06428, allocations: 2.565 MB / 0.8357 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.06429, allocations: 0 / 0.8357 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.012e-06/0.06429, allocations: 0.8125 kB / 0.8357 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.908e-05/0.06432, allocations: 0 / 0.8357 GB, free: 8.184 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.002839/0.06716, allocations: 3.017 MB / 0.8386 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.06719, allocations: 9.344 kB / 0.8387 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.06768, allocations: 363.7 kB / 0.839 GB, free: 4.766 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.0694, allocations: 1.485 MB / 0.8404 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/0.06947, allocations: 127 kB / 0.8406 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.06963, allocations: 175.9 kB / 0.8407 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.07074, allocations: 1.367 MB / 0.8421 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.07077, allocations: 3.938 kB / 0.8421 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.07084, allocations: 64 kB / 0.8421 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.07088, allocations: 43.98 kB / 0.8422 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.0714, allocations: 399.4 kB / 0.8426 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.0757, allocations: 4.368 MB / 0.8468 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.07595, allocations: 236.5 kB / 0.8471 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.07607, allocations: 117.7 kB / 0.8472 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.07618, allocations: 40.47 kB / 0.8472 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.07621, allocations: 50.94 kB / 0.8472 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/0.07621, allocations: 4 kB / 0.8473 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.0005271/0.07674, allocations: 401.8 kB / 0.8476 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.07676, allocations: 59.91 kB / 0.8477 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.07796, allocations: 1.647 MB / 0.8493 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.07802, allocations: 49.7 kB / 0.8493 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.07842, allocations: 0.829 MB / 0.8502 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.07854, allocations: 222.1 kB / 0.8504 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.07875, allocations: 246.7 kB / 0.8506 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.07884, allocations: 345.9 kB / 0.8509 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.079, allocations: 112.9 kB / 0.851 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.07947, allocations: 0.9366 MB / 0.852 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.07996, allocations: 0.5657 MB / 0.8525 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.07997, allocations: 4 kB / 0.8525 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.000684/0.08065, allocations: 0.635 MB / 0.8531 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.08067, allocations: 12 kB / 0.8531 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.08068, allocations: 8 kB / 0.8532 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.0807, allocations: 15.94 kB / 0.8532 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.08122, allocations: 259.6 kB / 0.8534 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.08123, allocations: 15.94 kB / 0.8534 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.08172, allocations: 139 kB / 0.8536 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.08177, allocations: 39.98 kB / 0.8536 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003225/0.0821, allocations: 208.4 kB / 0.8538 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004405/0.08254, allocations: 0.9409 MB / 0.8547 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004654/0.083, allocations: 0.5614 MB / 0.8553 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.08301, allocations: 4 kB / 0.8553 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006703/0.08368, allocations: 0.6294 MB / 0.8559 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.08369, allocations: 8 kB / 0.8559 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.08369, allocations: 11.98 kB / 0.8559 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.08371, allocations: 16 kB / 0.8559 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.08418, allocations: 259.5 kB / 0.8562 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.08419, allocations: 23.88 kB / 0.8562 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.08467, allocations: 115.7 kB / 0.8563 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.08471, allocations: 35.98 kB / 0.8563 GB, free: 1.738 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.0001428/0.08486, allocations: 248 kB / 0.8566 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.08499, allocations: 135.8 kB / 0.8567 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.08555, allocations: 470.6 kB / 0.8572 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002462/0.08579, allocations: 320.1 kB / 0.8575 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.0858, allocations: 4 kB / 0.8575 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.08612, allocations: 250.3 kB / 0.8577 GB, free: 304 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.08623, allocations: 12 kB / 0.8577 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.08657, allocations: 27.97 kB / 0.8577 GB, free: 264 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.08664, allocations: 36.58 kB / 0.8578 GB, free: 224 kB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004532/0.08709, allocations: 417.2 kB / 0.8582 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005584/0.08765, allocations: 0.6769 MB / 0.8588 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001361/0.08779, allocations: 135.3 kB / 0.859 GB, free: 14.98 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006605/0.08845, allocations: 0.8425 MB / 0.8598 GB, free: 14.12 MB / 0.823 GB Notification: Performance of Backend: time 1.81e-07/0.08845, allocations: 0 / 0.8598 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.09102, allocations: 1.439 MB / 0.8612 GB, free: 12.95 MB / 0.823 GB Notification: Performance of SimCode: time 0.005762/0.09679, allocations: 5.155 MB / 0.8662 GB, free: 7.738 MB / 0.823 GB Notification: Performance of Templates: time 0.05377/0.1506, allocations: 48.24 MB / 0.9133 GB, free: 8.531 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.222038489766419]