Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.001004/0.001004, allocations: 92.22 kB / 20.46 MB, free: 4.113 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.0009463/0.0009463, allocations: 157 kB / 23.82 MB, free: 0.75 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.9605/0.9605, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.59/0.59, allocations: 110.3 MB / 371 MB, free: 12.47 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 475.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.333e-05, allocations: 4.922 kB / 475.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.007216/0.007249, allocations: 7.267 MB / 482.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003619/0.01087, allocations: 2.477 MB / 484.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.01148, allocations: 30.16 kB / 484.9 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.01195, allocations: 128.2 kB / 485.1 MB, free: 8.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.01322, allocations: 0.5237 MB / 485.6 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007625/0.01398, allocations: 372.2 kB / 485.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.01575, allocations: 1.086 MB / 487 MB, free: 7.621 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.01619, allocations: 271.3 kB / 487.3 MB, free: 7.445 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.01726, allocations: 0.5347 MB / 487.8 MB, free: 7.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.01776, allocations: 281.1 kB / 488.1 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.01782, allocations: 31.12 kB / 488.1 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.01819, allocations: 141.8 kB / 488.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.57e-05/0.01827, allocations: 100.5 kB / 488.4 MB, free: 7.039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.01842, allocations: 151.7 kB / 488.5 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.01909, allocations: 400.7 kB / 488.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01909, allocations: 0 / 488.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0191, allocations: 0 / 488.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.0191, allocations: 1.281 kB / 488.9 MB, free: 6.809 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008782/0.01998, allocations: 0.7674 MB / 489.7 MB, free: 6.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.02002, allocations: 9.312 kB / 489.7 MB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.02023, allocations: 76.72 kB / 489.8 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.02062, allocations: 359.4 kB / 490.1 MB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.02064, allocations: 20.03 kB / 490.1 MB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.02069, allocations: 28.34 kB / 490.2 MB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.02104, allocations: 376.3 kB / 490.5 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.02106, allocations: 2.125 kB / 490.5 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.02108, allocations: 11.78 kB / 490.5 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.02111, allocations: 7.031 kB / 490.5 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.02128, allocations: 98.06 kB / 490.6 MB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.02243, allocations: 1.288 MB / 491.9 MB, free: 20.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.02263, allocations: 95.73 kB / 492 MB, free: 20.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.02268, allocations: 33.09 kB / 492.1 MB, free: 20.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.901e-05/0.02276, allocations: 16.11 kB / 492.1 MB, free: 20.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.0229, allocations: 207.9 kB / 492.3 MB, free: 20.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.02291, allocations: 0 / 492.3 MB, free: 20.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002589/0.02317, allocations: 154.2 kB / 492.4 MB, free: 20.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.02319, allocations: 59.03 kB / 492.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.02345, allocations: 351.3 kB / 492.8 MB, free: 19.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.02346, allocations: 35.88 kB / 492.9 MB, free: 19.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.02357, allocations: 267.5 kB / 493.1 MB, free: 19.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.0236, allocations: 56.64 kB / 493.2 MB, free: 19.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.02366, allocations: 59.55 kB / 493.2 MB, free: 19.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.02378, allocations: 0.5177 MB / 493.8 MB, free: 19.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.02385, allocations: 56.2 kB / 493.8 MB, free: 19.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.02394, allocations: 169.8 kB / 494 MB, free: 18.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.02409, allocations: 211.9 kB / 494.2 MB, free: 18.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02409, allocations: 1.625 kB / 494.2 MB, free: 18.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002861/0.02438, allocations: 283.2 kB / 494.5 MB, free: 18.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.0244, allocations: 33.2 kB / 494.5 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.02441, allocations: 2.562 kB / 494.5 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.02443, allocations: 4.281 kB / 494.5 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.02457, allocations: 53.84 kB / 494.6 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.02458, allocations: 12.72 kB / 494.6 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.0247, allocations: 27.59 kB / 494.6 MB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.02471, allocations: 15.81 kB / 494.6 MB, free: 18.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 9.603e-05/0.02481, allocations: 182.4 kB / 494.8 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.02485, allocations: 34.47 kB / 494.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.02503, allocations: 137 kB / 495 MB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02504, allocations: 2.594 kB / 495 MB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.02504, allocations: 1.5 kB / 495 MB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001734/0.02521, allocations: 428.6 kB / 495.4 MB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.02547, allocations: 260.8 kB / 495.6 MB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.02547, allocations: 0.8125 kB / 495.6 MB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.02555, allocations: 33.53 kB / 495.7 MB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.02556, allocations: 0 / 495.7 MB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.02557, allocations: 6.375 kB / 495.7 MB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02557, allocations: 0.9062 kB / 495.7 MB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02557, allocations: 4.266 kB / 495.7 MB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.02581, allocations: 208.2 kB / 495.9 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.02588, allocations: 43 kB / 495.9 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.02591, allocations: 1.281 kB / 495.9 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.02601, allocations: 15.22 kB / 495.9 MB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.02606, allocations: 14.19 kB / 495.9 MB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.02607, allocations: 9 kB / 496 MB, free: 17.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.02623, allocations: 237 kB / 496.2 MB, free: 17.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02623, allocations: 0 / 496.2 MB, free: 17.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.02658, allocations: 119 kB / 496.3 MB, free: 17.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002094/0.02679, allocations: 152.8 kB / 496.5 MB, free: 17.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.02701, allocations: 194.8 kB / 496.6 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02701, allocations: 6.062 kB / 496.6 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.02707, allocations: 43.41 kB / 496.7 MB, free: 16.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.02762, allocations: 205.4 kB / 496.9 MB, free: 16.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.02869, allocations: 0.6402 MB / 497.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.192e-05/0.02875, allocations: 95.27 kB / 497.6 MB, free: 16.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.02894, allocations: 58.8 kB / 497.7 MB, free: 16.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.02899, allocations: 37.47 kB / 497.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/0.029, allocations: 0.5938 kB / 497.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of Templates: time 0.01068/0.03968, allocations: 7.357 MB / 0.4932 GB, free: 15.5 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6881047608330846]