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.0007065/0.0007065, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009433/0.00165, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006952/0.0006952, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000862/0.001557, allocations: 463.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9254/0.9254, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09083/1.016, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.6148/0.6148, allocations: 110.2 MB / 354.2 MB, free: 12.36 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05863/0.6734, allocations: 34.94 MB / 389.2 MB, free: 9.348 MB / 378.7 MB " [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.312e-06/1.312e-06, allocations: 0 / 390.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.536e-05, allocations: 6.312 kB / 390.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.005749/0.005765, allocations: 7.26 MB / 397.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.008834, allocations: 2.525 MB / 400.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.009112, allocations: 27.81 kB / 400.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.009416, allocations: 123 kB / 400.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009378/0.01035, allocations: 0.532 MB / 401 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.01088, allocations: 359.1 kB / 401.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008712/0.01176, allocations: 1.087 MB / 402.4 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.01233, allocations: 308.6 kB / 402.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.01308, allocations: 0.5811 MB / 403.3 MB, free: 11.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.01341, allocations: 267.1 kB / 403.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.01345, allocations: 35.94 kB / 403.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.01371, allocations: 143.7 kB / 403.7 MB, free: 10.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.01378, allocations: 75.67 kB / 403.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.01389, allocations: 123.8 kB / 403.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.01438, allocations: 378.7 kB / 404.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.841e-05/0.01439, allocations: 0 / 404.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.0144, allocations: 0 / 404.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.01442, allocations: 0 / 404.3 MB, free: 10.19 MB / 394.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.000859/0.01528, allocations: 0.7268 MB / 405 MB, free: 9.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.01531, allocations: 12.02 kB / 405 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.01549, allocations: 137.9 kB / 405.2 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.01586, allocations: 308.3 kB / 405.5 MB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.01587, allocations: 20.88 kB / 405.5 MB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.01591, allocations: 36.33 kB / 405.5 MB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.01621, allocations: 347.9 kB / 405.8 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01623, allocations: 0 / 405.8 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.01625, allocations: 15.98 kB / 405.9 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.01627, allocations: 8 kB / 405.9 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.01637, allocations: 69.39 kB / 405.9 MB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008899/0.01726, allocations: 0.9382 MB / 406.9 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.01741, allocations: 74.47 kB / 407 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.01746, allocations: 24.84 kB / 407 MB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.01753, allocations: 11.98 kB / 407 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.0177, allocations: 194.1 kB / 407.2 MB, free: 7.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.0177, allocations: 0 / 407.2 MB, free: 7.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001755/0.01788, allocations: 105.6 kB / 407.3 MB, free: 6.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.01791, allocations: 59.39 kB / 407.3 MB, free: 6.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.01809, allocations: 300.5 kB / 407.6 MB, free: 6.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.01811, allocations: 33.7 kB / 407.7 MB, free: 6.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.01819, allocations: 197 kB / 407.9 MB, free: 6.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.01822, allocations: 51.52 kB / 407.9 MB, free: 6.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.01828, allocations: 53.67 kB / 408 MB, free: 6.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.01836, allocations: 350.7 kB / 408.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.01841, allocations: 49.69 kB / 408.4 MB, free: 5.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.01848, allocations: 131.1 kB / 408.5 MB, free: 5.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.01861, allocations: 169.8 kB / 408.6 MB, free: 5.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01861, allocations: 4 kB / 408.6 MB, free: 5.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001743/0.01879, allocations: 220.7 kB / 408.9 MB, free: 5.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.01882, allocations: 33.7 kB / 408.9 MB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01882, allocations: 0 / 408.9 MB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.01883, allocations: 4 kB / 408.9 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.019, allocations: 67.89 kB / 409 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01901, allocations: 7.938 kB / 409 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.01912, allocations: 36.09 kB / 409 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01913, allocations: 11.98 kB / 409 MB, free: 5.055 MB / 394.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 8.599e-05/0.01922, allocations: 132.5 kB / 409.2 MB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.01924, allocations: 23.97 kB / 409.2 MB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.01938, allocations: 105 kB / 409.3 MB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01938, allocations: 4 kB / 409.3 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01938, allocations: 0 / 409.3 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/0.01953, allocations: 411.7 kB / 409.7 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01972, allocations: 168.5 kB / 409.8 MB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01972, allocations: 7.984 kB / 409.9 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.01982, allocations: 35.92 kB / 409.9 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.01987, allocations: 39.73 kB / 409.9 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01987, allocations: 0 / 409.9 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.01988, allocations: 0 / 409.9 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01988, allocations: 4 kB / 409.9 MB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01989, allocations: 0 / 409.9 MB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.02004, allocations: 155.7 kB / 410.1 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.02007, allocations: 4 kB / 410.1 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.02016, allocations: 19.98 kB / 410.1 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.02019, allocations: 19.91 kB / 410.1 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.0202, allocations: 3.984 kB / 410.1 MB, free: 3.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.02029, allocations: 115.4 kB / 410.2 MB, free: 3.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02029, allocations: 0 / 410.2 MB, free: 3.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.02052, allocations: 107.8 kB / 410.3 MB, free: 3.578 MB / 394.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.0001786/0.02069, allocations: 136.3 kB / 410.5 MB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.02086, allocations: 177.7 kB / 410.7 MB, free: 3.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.02087, allocations: 4 kB / 410.7 MB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.02092, allocations: 40.78 kB / 410.7 MB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.02133, allocations: 246.2 kB / 410.9 MB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.02375, allocations: 0.5824 MB / 411.5 MB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.0238, allocations: 100.5 kB / 411.6 MB, free: 2.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000155/0.02396, allocations: 55.25 kB / 411.7 MB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.0242, allocations: 169.2 kB / 411.8 MB, free: 2.008 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.02421, allocations: 3.938 kB / 411.8 MB, free: 2.004 MB / 394.7 MB Notification: Performance of Templates: time 0.009207/0.03341, allocations: 7.596 MB / 419.4 MB, free: 10.43 MB / 410.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.358811934478581]