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.0009167/0.0009167, allocations: 81.86 kB / 21.47 MB, free: 3.023 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.0009859/0.0009859, allocations: 165.3 kB / 24.87 MB, free: 9.258 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.9688/0.9688, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.6147/0.6147, allocations: 110.3 MB / 372.1 MB, free: 12.37 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.473e-06/1.473e-06, allocations: 0.9844 kB / 476.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.014e-05, allocations: 4.703 kB / 476.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.005893/0.005914, allocations: 7.176 MB / 483.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.008565, allocations: 2.449 MB / 486 MB, free: 8.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.008837, allocations: 25.72 kB / 486.1 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.009201, allocations: 130.1 kB / 486.2 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.009985, allocations: 0.5371 MB / 486.7 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.01048, allocations: 367.6 kB / 487.1 MB, free: 7.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009697/0.01145, allocations: 1.086 MB / 488.2 MB, free: 7.422 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.01181, allocations: 271.7 kB / 488.4 MB, free: 7.246 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007994/0.01261, allocations: 0.5329 MB / 489 MB, free: 7.035 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.01297, allocations: 280.8 kB / 489.2 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.01302, allocations: 31.34 kB / 489.3 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.01326, allocations: 145.1 kB / 489.4 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.01334, allocations: 97.56 kB / 489.5 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.01346, allocations: 147.8 kB / 489.7 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.01392, allocations: 405.5 kB / 490 MB, free: 6.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01392, allocations: 1.156 kB / 490 MB, free: 6.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01392, allocations: 0 / 490 MB, free: 6.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.01392, allocations: 0.5625 kB / 490 MB, free: 6.609 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.0006859/0.01461, allocations: 0.7773 MB / 490.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01465, allocations: 10.41 kB / 490.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.01481, allocations: 74.22 kB / 490.9 MB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.01513, allocations: 345.6 kB / 491.2 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.01515, allocations: 23.97 kB / 491.3 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.0152, allocations: 32.56 kB / 491.3 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.01547, allocations: 358.1 kB / 491.7 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01549, allocations: 0 / 491.7 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.01551, allocations: 11.53 kB / 491.7 MB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.01553, allocations: 10.19 kB / 491.7 MB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.01565, allocations: 79 kB / 491.7 MB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01668, allocations: 1.293 MB / 493 MB, free: 20.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.01684, allocations: 93.89 kB / 493.1 MB, free: 20.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.01688, allocations: 30.56 kB / 493.2 MB, free: 20.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.01694, allocations: 16.55 kB / 493.2 MB, free: 20.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.01708, allocations: 197.4 kB / 493.4 MB, free: 20.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.01708, allocations: 3.938 kB / 493.4 MB, free: 20.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002195/0.0173, allocations: 149.8 kB / 493.5 MB, free: 20.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.01732, allocations: 57.2 kB / 493.6 MB, free: 19.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.01751, allocations: 346.7 kB / 493.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.01752, allocations: 32.14 kB / 493.9 MB, free: 19.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01764, allocations: 271.9 kB / 494.2 MB, free: 19.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.01767, allocations: 58.02 kB / 494.3 MB, free: 19.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.01772, allocations: 61.2 kB / 494.3 MB, free: 19.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01785, allocations: 0.5174 MB / 494.8 MB, free: 18.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.01789, allocations: 51.19 kB / 494.9 MB, free: 18.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.01797, allocations: 169.5 kB / 495.1 MB, free: 18.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.01809, allocations: 196.8 kB / 495.3 MB, free: 18.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01809, allocations: 1.031 kB / 495.3 MB, free: 18.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002441/0.01834, allocations: 261.6 kB / 495.5 MB, free: 18.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.01837, allocations: 35.58 kB / 495.5 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01838, allocations: 3.031 kB / 495.5 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01839, allocations: 5.469 kB / 495.6 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.0186, allocations: 57.5 kB / 495.6 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.01861, allocations: 3.969 kB / 495.6 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.01875, allocations: 31.89 kB / 495.6 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01876, allocations: 8.438 kB / 495.7 MB, free: 18.25 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 0.0001027/0.01887, allocations: 178.3 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.01891, allocations: 38.02 kB / 495.9 MB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.01907, allocations: 134 kB / 496 MB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01907, allocations: 2.594 kB / 496 MB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01907, allocations: 0 / 496 MB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/0.01921, allocations: 421.5 kB / 496.4 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.01942, allocations: 214.4 kB / 496.6 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01942, allocations: 0 / 496.6 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.01952, allocations: 33.56 kB / 496.7 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01952, allocations: 0.75 kB / 496.7 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01953, allocations: 6.562 kB / 496.7 MB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01953, allocations: 1.5 kB / 496.7 MB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01953, allocations: 5.094 kB / 496.7 MB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.01973, allocations: 189.1 kB / 496.9 MB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.01979, allocations: 46.27 kB / 496.9 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.01982, allocations: 7.906 kB / 496.9 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.01992, allocations: 14.05 kB / 496.9 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.01996, allocations: 19.67 kB / 496.9 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.01997, allocations: 4.281 kB / 496.9 MB, free: 17.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.02009, allocations: 228.7 kB / 497.2 MB, free: 17.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02009, allocations: 0 / 497.2 MB, free: 17.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.02035, allocations: 114.5 kB / 497.3 MB, free: 17.05 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.0001928/0.02054, allocations: 155.2 kB / 497.4 MB, free: 16.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.02073, allocations: 189 kB / 497.6 MB, free: 16.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02073, allocations: 0 / 497.6 MB, free: 16.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.02078, allocations: 45.72 kB / 497.7 MB, free: 16.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.02129, allocations: 202.9 kB / 497.9 MB, free: 16.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.02225, allocations: 0.6297 MB / 498.5 MB, free: 16.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.0223, allocations: 98 kB / 498.6 MB, free: 16.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000154/0.02246, allocations: 62.23 kB / 498.6 MB, free: 16.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.02274, allocations: 216.9 kB / 498.9 MB, free: 16.22 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02274, allocations: 0.9375 kB / 498.9 MB, free: 16.22 MB / 426.7 MB Notification: Performance of Templates: time 0.01059/0.03333, allocations: 7.475 MB / 0.4945 GB, free: 15.27 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.6278427187353373]