Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.000897/0.000897, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.0008639/0.0008639, allocations: 169 kB / 24.05 MB, free: 456 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 1.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6136/0.6136, allocations: 115 MB / 376 MB, free: 7.488 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 481.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.451e-05, allocations: 3.125 kB / 481.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.005933/0.005947, allocations: 7.194 MB / 489.1 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.009266, allocations: 2.453 MB / 491.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.009611, allocations: 23.75 kB / 491.6 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.01007, allocations: 130.3 kB / 491.7 MB, free: 5.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.01139, allocations: 0.534 MB / 492.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.01212, allocations: 370.2 kB / 492.6 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.0137, allocations: 1.096 MB / 493.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.01415, allocations: 278.4 kB / 494 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000991/0.01514, allocations: 0.5437 MB / 494.5 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.01554, allocations: 289 kB / 494.8 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.01559, allocations: 33.84 kB / 494.9 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.01589, allocations: 132.2 kB / 495 MB, free: 3.566 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.01597, allocations: 100.8 kB / 495.1 MB, free: 3.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.01609, allocations: 156.3 kB / 495.2 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.01658, allocations: 402.2 kB / 495.6 MB, free: 3.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01658, allocations: 0 / 495.6 MB, free: 3.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01658, allocations: 0 / 495.6 MB, free: 3.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.01659, allocations: 1.875 kB / 495.6 MB, free: 3.266 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.0007218/0.01731, allocations: 0.7706 MB / 496.4 MB, free: 2.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01734, allocations: 12.5 kB / 496.4 MB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.0175, allocations: 76.86 kB / 496.5 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.01784, allocations: 352.8 kB / 496.8 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.01786, allocations: 23.47 kB / 496.9 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.0179, allocations: 32.28 kB / 496.9 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.01819, allocations: 352 kB / 497.2 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.0182, allocations: 1.719 kB / 497.2 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.01822, allocations: 10.78 kB / 497.2 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.01824, allocations: 16.2 kB / 497.3 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.01835, allocations: 81.11 kB / 497.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.01943, allocations: 1.298 MB / 498.6 MB, free: 17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.0196, allocations: 89.7 kB / 498.7 MB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.01963, allocations: 33.19 kB / 498.8 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.568e-05/0.0197, allocations: 15.3 kB / 498.8 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.01985, allocations: 194.9 kB / 499 MB, free: 16.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/0.01985, allocations: 0 / 499 MB, free: 16.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002388/0.02009, allocations: 150.2 kB / 499.1 MB, free: 16.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.02011, allocations: 59.53 kB / 499.2 MB, free: 16.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.02032, allocations: 353.1 kB / 499.5 MB, free: 16.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.02034, allocations: 32.36 kB / 499.5 MB, free: 16.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.02045, allocations: 265.2 kB / 499.8 MB, free: 16.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.02048, allocations: 58.67 kB / 499.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.02055, allocations: 61.39 kB / 499.9 MB, free: 16.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.02074, allocations: 0.5176 MB / 0.4887 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.02087, allocations: 51.06 kB / 0.4888 GB, free: 15.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.02098, allocations: 164.5 kB / 0.4889 GB, free: 15.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.02115, allocations: 193.9 kB / 0.4891 GB, free: 15.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.02115, allocations: 1.062 kB / 0.4891 GB, free: 15.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003372/0.02149, allocations: 261.2 kB / 0.4894 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.02153, allocations: 33.36 kB / 0.4894 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.02154, allocations: 3.25 kB / 0.4894 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.02155, allocations: 3.438 kB / 0.4894 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.02173, allocations: 59.98 kB / 0.4894 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.02173, allocations: 10.67 kB / 0.4895 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.0219, allocations: 30.75 kB / 0.4895 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.02192, allocations: 12.34 kB / 0.4895 GB, free: 14.91 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.00015/0.02207, allocations: 174.6 kB / 0.4897 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.02212, allocations: 35.44 kB / 0.4897 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.02233, allocations: 144.5 kB / 0.4898 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.02233, allocations: 2.125 kB / 0.4898 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.02234, allocations: 5.406 kB / 0.4898 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001909/0.02253, allocations: 417 kB / 0.4902 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.02281, allocations: 210.8 kB / 0.4904 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02281, allocations: 0 / 0.4904 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.02291, allocations: 34.36 kB / 0.4905 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.02291, allocations: 0 / 0.4905 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.02292, allocations: 2.219 kB / 0.4905 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02292, allocations: 1.719 kB / 0.4905 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02293, allocations: 0 / 0.4905 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.02318, allocations: 203.1 kB / 0.4907 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.02327, allocations: 42.09 kB / 0.4907 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.0233, allocations: 6.094 kB / 0.4907 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.02341, allocations: 11.23 kB / 0.4907 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.02346, allocations: 18.72 kB / 0.4907 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.02347, allocations: 8.188 kB / 0.4908 GB, free: 13.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.02363, allocations: 233.5 kB / 0.491 GB, free: 13.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02363, allocations: 0 / 0.491 GB, free: 13.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.02398, allocations: 116.9 kB / 0.4911 GB, free: 13.7 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.0002251/0.02421, allocations: 150.9 kB / 0.4912 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.02442, allocations: 187.9 kB / 0.4914 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02442, allocations: 1.406 kB / 0.4914 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.02449, allocations: 42.59 kB / 0.4915 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.02503, allocations: 202.9 kB / 0.4916 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.02616, allocations: 0.6454 MB / 0.4923 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.02624, allocations: 95.53 kB / 0.4924 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.02642, allocations: 55.12 kB / 0.4924 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.02675, allocations: 218.3 kB / 0.4926 GB, free: 12.85 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02675, allocations: 0 / 0.4926 GB, free: 12.85 MB / 426.7 MB Notification: Performance of Templates: time 0.01149/0.03824, allocations: 7.332 MB / 0.4998 GB, free: 9.613 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5069181211292744]