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.0008958/0.0008958, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001074/0.001074, allocations: 177 kB / 24.09 MB, free: 420 kB / 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.977/0.977, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.5949/0.5949, allocations: 110.3 MB / 371.3 MB, free: 12.35 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.344e-06/2.344e-06, allocations: 3.938 kB / 475.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.02e-05, allocations: 7.359 kB / 475.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.006895/0.006925, allocations: 7.176 MB / 482.8 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.01009, allocations: 2.444 MB / 485.2 MB, free: 8.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.01052, allocations: 27.59 kB / 485.3 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.01094, allocations: 135.5 kB / 485.4 MB, free: 8.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.01199, allocations: 0.5256 MB / 485.9 MB, free: 8.094 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.01275, allocations: 368.4 kB / 486.3 MB, free: 7.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.01431, allocations: 1.09 MB / 487.4 MB, free: 7.379 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.01471, allocations: 270 kB / 487.6 MB, free: 7.207 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.01575, allocations: 0.5314 MB / 488.2 MB, free: 6.996 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.01632, allocations: 279.9 kB / 488.4 MB, free: 6.906 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.01638, allocations: 33.12 kB / 488.5 MB, free: 6.906 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.01673, allocations: 143.8 kB / 488.6 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.01681, allocations: 102.6 kB / 488.7 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.01695, allocations: 143.8 kB / 488.9 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.01755, allocations: 403.3 kB / 489.3 MB, free: 6.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01755, allocations: 0 / 489.3 MB, free: 6.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01755, allocations: 5.781 kB / 489.3 MB, free: 6.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.01756, allocations: 0 / 489.3 MB, free: 6.57 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.000789/0.01835, allocations: 0.7732 MB / 490 MB, free: 5.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.01838, allocations: 9.812 kB / 490 MB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.01855, allocations: 75.78 kB / 490.1 MB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.01892, allocations: 355 kB / 490.5 MB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.01894, allocations: 19.09 kB / 490.5 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.01898, allocations: 28.31 kB / 490.5 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.01928, allocations: 363.2 kB / 490.9 MB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01929, allocations: 1.875 kB / 490.9 MB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.01931, allocations: 9.75 kB / 490.9 MB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.01933, allocations: 11.84 kB / 490.9 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.01944, allocations: 76.52 kB / 491 MB, free: 5.355 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.02056, allocations: 1.303 MB / 492.3 MB, free: 20.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.02071, allocations: 85.59 kB / 492.3 MB, free: 20.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.02075, allocations: 35.23 kB / 492.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.02082, allocations: 11.59 kB / 492.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.02098, allocations: 203 kB / 492.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.02098, allocations: 0.6562 kB / 492.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002267/0.0212, allocations: 147.8 kB / 492.7 MB, free: 19.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.02123, allocations: 58.22 kB / 492.8 MB, free: 19.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.02144, allocations: 349.7 kB / 493.1 MB, free: 19.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.02145, allocations: 32.39 kB / 493.2 MB, free: 19.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.02157, allocations: 271 kB / 493.4 MB, free: 19.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.0216, allocations: 60.34 kB / 493.5 MB, free: 19.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.02166, allocations: 62.83 kB / 493.6 MB, free: 19.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.02179, allocations: 0.5161 MB / 494.1 MB, free: 18.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.02184, allocations: 49.66 kB / 494.1 MB, free: 18.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.02191, allocations: 162.6 kB / 494.3 MB, free: 18.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.02204, allocations: 197.1 kB / 494.5 MB, free: 18.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02204, allocations: 1.5 kB / 494.5 MB, free: 18.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002428/0.02228, allocations: 260.3 kB / 494.7 MB, free: 18.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.02231, allocations: 35.56 kB / 494.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02232, allocations: 3.562 kB / 494.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.02233, allocations: 8.406 kB / 494.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.02247, allocations: 54.33 kB / 494.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.02247, allocations: 8.75 kB / 494.8 MB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.0226, allocations: 32.12 kB / 494.9 MB, free: 18.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.02261, allocations: 10.36 kB / 494.9 MB, free: 18.21 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.0001052/0.02272, allocations: 179 kB / 495 MB, free: 18.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.02276, allocations: 34.66 kB / 495.1 MB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.02294, allocations: 130.8 kB / 495.2 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.02294, allocations: 2.969 kB / 495.2 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.02294, allocations: 1.406 kB / 495.2 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001668/0.02311, allocations: 420.3 kB / 495.6 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.02333, allocations: 213.9 kB / 495.8 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.02334, allocations: 1.062 kB / 495.8 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.02342, allocations: 28.02 kB / 495.9 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.02342, allocations: 1.219 kB / 495.9 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.02344, allocations: 8.969 kB / 495.9 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.02344, allocations: 5.344 kB / 495.9 MB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02344, allocations: 0 / 495.9 MB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.02365, allocations: 197.8 kB / 496.1 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.02371, allocations: 42.81 kB / 496.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.02374, allocations: 9.453 kB / 496.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.02383, allocations: 12.47 kB / 496.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.02387, allocations: 15.39 kB / 496.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.02389, allocations: 8.328 kB / 496.2 MB, free: 17.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.02401, allocations: 230.6 kB / 496.4 MB, free: 17.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02401, allocations: 1.438 kB / 496.4 MB, free: 17.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.02434, allocations: 111.7 kB / 496.5 MB, free: 17.01 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.000206/0.02454, allocations: 152.2 kB / 496.6 MB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.02475, allocations: 191.2 kB / 496.8 MB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02475, allocations: 1.406 kB / 496.8 MB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.02481, allocations: 41.25 kB / 496.9 MB, free: 16.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.02532, allocations: 200.7 kB / 497.1 MB, free: 16.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.02651, allocations: 0.64 MB / 497.7 MB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.02657, allocations: 94.17 kB / 497.8 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.02676, allocations: 59.05 kB / 497.9 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.02704, allocations: 218.6 kB / 498.1 MB, free: 16.18 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02705, allocations: 0 / 498.1 MB, free: 16.18 MB / 426.7 MB Notification: Performance of Templates: time 0.01209/0.03914, allocations: 7.379 MB / 0.4936 GB, free: 15.25 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.5234258119016886]