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.0009726/0.0009726, 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.001357/0.001357, 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.9003/0.9003, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.6208/0.6208, allocations: 110.2 MB / 371 MB, free: 12.42 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 2.034e-06/2.034e-06, allocations: 0 / 475.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.754e-05, allocations: 2.312 kB / 475.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.006778/0.006805, allocations: 7.264 MB / 482.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.01034, allocations: 2.47 MB / 484.9 MB, free: 8.734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.01083, allocations: 24.5 kB / 484.9 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.01128, allocations: 131.6 kB / 485 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.0124, allocations: 0.5324 MB / 485.6 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.01307, allocations: 366.2 kB / 485.9 MB, free: 8.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.01418, allocations: 1.09 MB / 487 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.01458, allocations: 274.1 kB / 487.3 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009283/0.01551, allocations: 0.4993 MB / 487.8 MB, free: 7.242 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.01596, allocations: 276.6 kB / 488.1 MB, free: 7.156 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.01602, allocations: 32.97 kB / 488.1 MB, free: 7.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.01639, allocations: 148.7 kB / 488.2 MB, free: 7.109 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.01648, allocations: 99.52 kB / 488.3 MB, free: 7.051 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.01663, allocations: 152 kB / 488.5 MB, free: 6.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.01724, allocations: 415.6 kB / 488.9 MB, free: 6.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.01724, allocations: 0 / 488.9 MB, free: 6.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.01724, allocations: 0 / 488.9 MB, free: 6.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.01726, allocations: 1.469 kB / 488.9 MB, free: 6.812 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.000912/0.01817, allocations: 0.767 MB / 489.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01821, allocations: 13.14 kB / 489.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.01841, allocations: 75.28 kB / 489.7 MB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.01892, allocations: 414 kB / 490.1 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.01894, allocations: 21.84 kB / 490.2 MB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.01898, allocations: 30.91 kB / 490.2 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.01937, allocations: 367.1 kB / 490.6 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01938, allocations: 5.906 kB / 490.6 MB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.01941, allocations: 7.625 kB / 490.6 MB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.01943, allocations: 10.22 kB / 490.6 MB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.01961, allocations: 97.66 kB / 490.7 MB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.0208, allocations: 1.299 MB / 492 MB, free: 20.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.021, allocations: 91.44 kB / 492.1 MB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.02105, allocations: 39.17 kB / 492.1 MB, free: 20.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.02113, allocations: 9.156 kB / 492.1 MB, free: 20.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.02129, allocations: 198.9 kB / 492.3 MB, free: 20.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.02129, allocations: 0 / 492.3 MB, free: 20.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002865/0.02158, allocations: 155.2 kB / 492.5 MB, free: 20.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.0216, allocations: 56.8 kB / 492.5 MB, free: 20.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.02183, allocations: 352.9 kB / 492.9 MB, free: 19.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.02185, allocations: 32.98 kB / 492.9 MB, free: 19.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.02195, allocations: 264.2 kB / 493.1 MB, free: 19.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.02198, allocations: 65.16 kB / 493.2 MB, free: 19.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.02204, allocations: 58.98 kB / 493.3 MB, free: 19.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.02217, allocations: 0.5145 MB / 493.8 MB, free: 19.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.02224, allocations: 56.56 kB / 493.8 MB, free: 19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.02233, allocations: 175.1 kB / 494 MB, free: 18.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.02251, allocations: 206.5 kB / 494.2 MB, free: 18.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02252, allocations: 1.062 kB / 494.2 MB, free: 18.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003309/0.02285, allocations: 278.6 kB / 494.5 MB, free: 18.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.02288, allocations: 37.33 kB / 494.5 MB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02288, allocations: 3.969 kB / 494.5 MB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.0229, allocations: 3.062 kB / 494.5 MB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.02304, allocations: 54.3 kB / 494.6 MB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.02305, allocations: 7.469 kB / 494.6 MB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.0232, allocations: 27.84 kB / 494.6 MB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.02322, allocations: 14.22 kB / 494.6 MB, free: 18.41 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.585e-05/0.02332, allocations: 178.6 kB / 494.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.02335, allocations: 37.56 kB / 494.8 MB, free: 18.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.02354, allocations: 140.8 kB / 495 MB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02355, allocations: 1.312 kB / 495 MB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.02355, allocations: 3.938 kB / 495 MB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000177/0.02373, allocations: 431.7 kB / 495.4 MB, free: 17.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.024, allocations: 264.3 kB / 495.7 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.024, allocations: 2.938 kB / 495.7 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.02409, allocations: 29.16 kB / 495.7 MB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.02409, allocations: 0 / 495.7 MB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.0241, allocations: 7.938 kB / 495.7 MB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.02411, allocations: 0 / 495.7 MB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02411, allocations: 1.25 kB / 495.7 MB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.02433, allocations: 194.7 kB / 495.9 MB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.0244, allocations: 48.56 kB / 495.9 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.02443, allocations: 5.094 kB / 495.9 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.02453, allocations: 12.14 kB / 496 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.02458, allocations: 19.2 kB / 496 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.02459, allocations: 4.844 kB / 496 MB, free: 17.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.02475, allocations: 243 kB / 496.2 MB, free: 17.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02475, allocations: 0 / 496.2 MB, free: 17.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.02506, allocations: 114.1 kB / 496.3 MB, free: 17.16 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.0002189/0.02528, allocations: 157.2 kB / 496.5 MB, free: 17.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.02551, allocations: 197.8 kB / 496.7 MB, free: 16.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02551, allocations: 0 / 496.7 MB, free: 16.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.02557, allocations: 48.3 kB / 496.7 MB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.02624, allocations: 214.3 kB / 496.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.02781, allocations: 0.6313 MB / 497.6 MB, free: 16.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.297e-05/0.02786, allocations: 104.4 kB / 497.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.02807, allocations: 63.45 kB / 497.7 MB, free: 16.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.02813, allocations: 33.19 kB / 497.8 MB, free: 16.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.02813, allocations: 1.531 kB / 497.8 MB, free: 16.39 MB / 426.7 MB Notification: Performance of Templates: time 0.009813/0.03795, allocations: 6.69 MB / 0.4926 GB, free: 15.61 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.787823636084795]