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.001155/0.001155, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.00126/0.00126, allocations: 171 kB / 24.84 MB, free: 9.254 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.966/0.966, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.622/0.622, allocations: 115 MB / 376.8 MB, free: 7.492 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.503e-06/1.503e-06, allocations: 0 / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.783e-05, allocations: 2.938 kB / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.006585/0.006603, allocations: 7.189 MB / 489.9 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.00961, allocations: 2.457 MB / 492.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.009961, allocations: 22.81 kB / 492.4 MB, free: 5.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.01037, allocations: 136.5 kB / 492.5 MB, free: 5.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009552/0.01132, allocations: 0.5283 MB / 493.1 MB, free: 4.809 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.0119, allocations: 364.9 kB / 493.4 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.01309, allocations: 1.1 MB / 494.5 MB, free: 4.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.01344, allocations: 279 kB / 494.8 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008633/0.0143, allocations: 0.5441 MB / 495.3 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.01473, allocations: 279.4 kB / 495.6 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.01479, allocations: 36.06 kB / 495.6 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.01511, allocations: 136.8 kB / 495.8 MB, free: 3.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.0152, allocations: 105.5 kB / 495.9 MB, free: 3.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.01535, allocations: 147.5 kB / 496 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.0159, allocations: 404.4 kB / 496.4 MB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01591, allocations: 1.156 kB / 496.4 MB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01591, allocations: 0 / 496.4 MB, free: 3.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.01591, allocations: 0 / 496.4 MB, free: 3.273 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.0007812/0.01669, allocations: 0.7652 MB / 497.2 MB, free: 2.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01673, allocations: 9.438 kB / 497.2 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.01691, allocations: 74.97 kB / 497.3 MB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.01728, allocations: 356.6 kB / 497.6 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.0173, allocations: 27.95 kB / 497.6 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.01735, allocations: 29.16 kB / 497.7 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.01765, allocations: 352.7 kB / 498 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01767, allocations: 3.188 kB / 498 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.01769, allocations: 8.781 kB / 498 MB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.01771, allocations: 14.33 kB / 498 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.01783, allocations: 79.03 kB / 498.1 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01896, allocations: 1.3 MB / 499.4 MB, free: 17.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.01913, allocations: 89.05 kB / 499.5 MB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.01917, allocations: 31.31 kB / 499.5 MB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/0.01923, allocations: 11.08 kB / 499.5 MB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.01938, allocations: 198.8 kB / 499.7 MB, free: 16.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.01938, allocations: 0.9688 kB / 499.7 MB, free: 16.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002449/0.01962, allocations: 145.8 kB / 499.9 MB, free: 16.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.01965, allocations: 61.28 kB / 499.9 MB, free: 16.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.01987, allocations: 354.7 kB / 0.4886 GB, free: 16.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01989, allocations: 30.95 kB / 0.4886 GB, free: 16.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.02001, allocations: 267.1 kB / 0.4888 GB, free: 16.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.02004, allocations: 53.42 kB / 0.4889 GB, free: 16.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.02011, allocations: 66 kB / 0.489 GB, free: 16.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.02026, allocations: 0.5144 MB / 0.4895 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.02031, allocations: 54.28 kB / 0.4895 GB, free: 15.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.02039, allocations: 164.9 kB / 0.4897 GB, free: 15.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.02052, allocations: 193.5 kB / 0.4899 GB, free: 15.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.02053, allocations: 6.062 kB / 0.4899 GB, free: 15.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002528/0.02078, allocations: 261 kB / 0.4901 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.02081, allocations: 36.58 kB / 0.4901 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02081, allocations: 6.234 kB / 0.4902 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.02082, allocations: 5.219 kB / 0.4902 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.02097, allocations: 58.11 kB / 0.4902 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.02097, allocations: 8.531 kB / 0.4902 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.0211, allocations: 27.67 kB / 0.4902 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.02112, allocations: 11.19 kB / 0.4903 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.0001128/0.02123, allocations: 178.5 kB / 0.4904 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.02128, allocations: 34.72 kB / 0.4905 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.02146, allocations: 133.1 kB / 0.4906 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.02146, allocations: 2.125 kB / 0.4906 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.02147, allocations: 4.656 kB / 0.4906 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001995/0.02167, allocations: 420.8 kB / 0.491 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.02191, allocations: 215.3 kB / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02191, allocations: 0 / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.022, allocations: 27.03 kB / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.022, allocations: 0 / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.02201, allocations: 2.281 kB / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.02202, allocations: 4.516 kB / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.02202, allocations: 5.125 kB / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.02226, allocations: 196.2 kB / 0.4914 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.02233, allocations: 45.67 kB / 0.4915 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.02236, allocations: 12.97 kB / 0.4915 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.02246, allocations: 10.94 kB / 0.4915 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.0225, allocations: 15.05 kB / 0.4915 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.02252, allocations: 7.688 kB / 0.4915 GB, free: 13.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.02265, allocations: 226.6 kB / 0.4917 GB, free: 13.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02265, allocations: 0 / 0.4917 GB, free: 13.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.02298, allocations: 119.4 kB / 0.4918 GB, free: 13.71 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.0002096/0.02319, allocations: 163.3 kB / 0.492 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.02339, allocations: 185.6 kB / 0.4922 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02339, allocations: 1.375 kB / 0.4922 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.02345, allocations: 46.17 kB / 0.4922 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.0005335/0.02399, allocations: 192.3 kB / 0.4924 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.02506, allocations: 0.6372 MB / 0.493 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.466e-05/0.02513, allocations: 99.8 kB / 0.4931 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.02533, allocations: 58.69 kB / 0.4932 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.02569, allocations: 221.4 kB / 0.4934 GB, free: 12.85 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02569, allocations: 0 / 0.4934 GB, free: 12.85 MB / 426.7 MB Notification: Performance of Templates: time 0.01148/0.03717, allocations: 7.44 MB / 0.5007 GB, free: 9.523 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.6091110012494028]