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.0008021/0.0008021, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007874/0.0007874, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8643/0.8643, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.5571/0.5571, allocations: 114 MB / 374.7 MB, free: 8.719 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.984e-06/1.984e-06, allocations: 0 / 0.5554 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.572e-05, allocations: 6.656 kB / 0.5554 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01095/0.01097, allocations: 13.41 MB / 0.5685 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004384/0.01536, allocations: 3.388 MB / 0.5718 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.01592, allocations: 27.75 kB / 0.5718 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.0165, allocations: 202.6 kB / 0.572 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.01778, allocations: 0.6409 MB / 0.5727 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.01853, allocations: 421.4 kB / 0.5731 GB, free: 176 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.01978, allocations: 1.114 MB / 0.5741 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.02018, allocations: 245 kB / 0.5744 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.02132, allocations: 0.5608 MB / 0.5749 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.02173, allocations: 275.1 kB / 0.5752 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.02178, allocations: 36 kB / 0.5752 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.0222, allocations: 219.5 kB / 0.5754 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.0223, allocations: 107.5 kB / 0.5755 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.02244, allocations: 151.7 kB / 0.5757 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.02317, allocations: 0.6114 MB / 0.5763 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.02317, allocations: 0 / 0.5763 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/0.02318, allocations: 3.938 kB / 0.5763 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.02318, allocations: 0 / 0.5763 GB, free: 12.85 MB / 0.5417 GB 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.001002/0.02418, allocations: 0.6855 MB / 0.5769 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.02423, allocations: 8.625 kB / 0.577 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.0244, allocations: 44.7 kB / 0.577 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.02502, allocations: 415.9 kB / 0.5774 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.02505, allocations: 24.62 kB / 0.5774 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.02509, allocations: 28 kB / 0.5774 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.02554, allocations: 408.1 kB / 0.5778 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.02555, allocations: 0 / 0.5778 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.02557, allocations: 15.94 kB / 0.5778 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.02559, allocations: 7.938 kB / 0.5779 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.02587, allocations: 197.8 kB / 0.578 GB, free: 10.94 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.02703, allocations: 1.093 MB / 0.5791 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.02734, allocations: 154.6 kB / 0.5793 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.02743, allocations: 56.83 kB / 0.5793 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.02752, allocations: 19.92 kB / 0.5793 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.02775, allocations: 226.1 kB / 0.5795 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.02775, allocations: 0 / 0.5795 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0004019/0.02815, allocations: 233.3 kB / 0.5798 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.02819, allocations: 55.34 kB / 0.5798 GB, free: 9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.02844, allocations: 328.5 kB / 0.5801 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.02847, allocations: 29.7 kB / 0.5802 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.02858, allocations: 232.3 kB / 0.5804 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.02862, allocations: 51.53 kB / 0.5804 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.02868, allocations: 61.64 kB / 0.5805 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.02877, allocations: 338.8 kB / 0.5808 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.02889, allocations: 93.66 kB / 0.5809 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.02903, allocations: 175.1 kB / 0.5811 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.02927, allocations: 247 kB / 0.5813 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.02927, allocations: 4 kB / 0.5813 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003448/0.02961, allocations: 338.6 kB / 0.5816 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.02964, allocations: 38.02 kB / 0.5817 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.02965, allocations: 8 kB / 0.5817 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.02966, allocations: 4 kB / 0.5817 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.02978, allocations: 51.91 kB / 0.5817 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.02979, allocations: 7.938 kB / 0.5817 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.02991, allocations: 31.83 kB / 0.5818 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.02993, allocations: 19.98 kB / 0.5818 GB, free: 6.84 MB / 0.5417 GB 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.0001173/0.03005, allocations: 161.7 kB / 0.5819 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.03008, allocations: 31.81 kB / 0.582 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.03035, allocations: 195.4 kB / 0.5822 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.03036, allocations: 3.938 kB / 0.5822 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.03036, allocations: 7.938 kB / 0.5822 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002654/0.03063, allocations: 487.6 kB / 0.5826 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.03087, allocations: 249.1 kB / 0.5829 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.03087, allocations: 0 / 0.5829 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.03095, allocations: 39.91 kB / 0.5829 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.03095, allocations: 0 / 0.5829 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.03096, allocations: 4 kB / 0.5829 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.03097, allocations: 0 / 0.5829 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.03097, allocations: 0 / 0.5829 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.0313, allocations: 286.9 kB / 0.5832 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.03138, allocations: 47.77 kB / 0.5832 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.0314, allocations: 4 kB / 0.5832 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.0315, allocations: 19.98 kB / 0.5833 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.03155, allocations: 15.97 kB / 0.5833 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.03156, allocations: 7.938 kB / 0.5833 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001619/0.03172, allocations: 235 kB / 0.5835 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.1e-08/0.03172, allocations: 0 / 0.5835 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002916/0.03202, allocations: 131.6 kB / 0.5836 GB, free: 4.805 MB / 0.5417 GB 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.000239/0.03226, allocations: 187.2 kB / 0.5838 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.03256, allocations: 255.2 kB / 0.5841 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03256, allocations: 0 / 0.5841 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.03265, allocations: 63.89 kB / 0.5841 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.03314, allocations: 200.6 kB / 0.5843 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/0.03397, allocations: 0.6766 MB / 0.585 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.03408, allocations: 188.9 kB / 0.5851 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.03415, allocations: 40.48 kB / 0.5852 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.03415, allocations: 7.938 kB / 0.5852 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of Templates: time 0.006111/0.04026, allocations: 6.136 MB / 0.5912 GB, free: 13.07 MB / 0.5573 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.506986984983087] Failed to read output from testmodel.py, exit status != 0: 0.045433031395077705 0.05251697 0.027798671 Calling exit ...