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.0008327/0.0008327, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008396/0.0008396, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8898/0.8898, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5624/0.5624, allocations: 114 MB / 373.9 MB, free: 8.746 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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5542 GB, free: 1.73 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.237e-05, allocations: 6.219 kB / 0.5542 GB, free: 1.723 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01103/0.01105, allocations: 13.41 MB / 0.5673 GB, free: 4.262 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.01532, allocations: 3.397 MB / 0.5706 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.01581, allocations: 23.81 kB / 0.5706 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.01637, allocations: 202.6 kB / 0.5708 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.018, allocations: 0.6487 MB / 0.5714 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.01881, allocations: 413.1 kB / 0.5718 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.02013, allocations: 1.106 MB / 0.5729 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.02054, allocations: 260.9 kB / 0.5731 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.02167, allocations: 0.5609 MB / 0.5737 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.02211, allocations: 271.2 kB / 0.574 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.02216, allocations: 36 kB / 0.574 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.02263, allocations: 219.4 kB / 0.5742 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.02273, allocations: 107.5 kB / 0.5743 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.02288, allocations: 147.7 kB / 0.5744 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.02368, allocations: 0.6115 MB / 0.575 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.02369, allocations: 3.938 kB / 0.575 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.02369, allocations: 0 / 0.575 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.0237, allocations: 0 / 0.575 GB, free: 12.28 MB / 0.4948 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.001043/0.02474, allocations: 0.6822 MB / 0.5757 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.02479, allocations: 12.62 kB / 0.5757 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.02485, allocations: 62.72 kB / 0.5758 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.02503, allocations: 52.59 kB / 0.5758 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.02562, allocations: 408 kB / 0.5762 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.02564, allocations: 24.44 kB / 0.5762 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.02568, allocations: 24 kB / 0.5763 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.02612, allocations: 412 kB / 0.5767 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.02613, allocations: 8 kB / 0.5767 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.02615, allocations: 11.98 kB / 0.5767 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.02617, allocations: 8 kB / 0.5767 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.02646, allocations: 197.8 kB / 0.5769 GB, free: 10.29 MB / 0.4948 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.001245/0.0277, allocations: 1.139 MB / 0.578 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.02804, allocations: 158.5 kB / 0.5781 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.812e-05/0.02814, allocations: 60.81 kB / 0.5782 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.02827, allocations: 8 kB / 0.5782 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.02856, allocations: 234.1 kB / 0.5784 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.507e-06/0.02856, allocations: 4 kB / 0.5784 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004602/0.02902, allocations: 236.5 kB / 0.5787 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.02906, allocations: 55.41 kB / 0.5787 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.02934, allocations: 353.6 kB / 0.579 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.02937, allocations: 33.69 kB / 0.5791 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.02948, allocations: 220.1 kB / 0.5793 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.02952, allocations: 47.59 kB / 0.5793 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.02959, allocations: 57.64 kB / 0.5794 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.02968, allocations: 342.8 kB / 0.5797 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.02981, allocations: 105.6 kB / 0.5798 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.02995, allocations: 175 kB / 0.58 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.0302, allocations: 240.7 kB / 0.5802 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.03021, allocations: 8 kB / 0.5802 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003894/0.0306, allocations: 346 kB / 0.5805 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.03064, allocations: 30.8 kB / 0.5806 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.03064, allocations: 4 kB / 0.5806 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.03066, allocations: 7.938 kB / 0.5806 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.0308, allocations: 59.89 kB / 0.5806 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.03081, allocations: 4 kB / 0.5807 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.03095, allocations: 39.77 kB / 0.5807 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.03097, allocations: 8.188 kB / 0.5807 GB, free: 6.102 MB / 0.4948 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.0001279/0.0311, allocations: 161.8 kB / 0.5809 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.03113, allocations: 39.7 kB / 0.5809 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.03143, allocations: 196.4 kB / 0.5811 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.03143, allocations: 3.938 kB / 0.5811 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.03144, allocations: 0 / 0.5811 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002979/0.03173, allocations: 495.6 kB / 0.5816 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.03203, allocations: 288.6 kB / 0.5818 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.03203, allocations: 0 / 0.5818 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-05/0.03211, allocations: 27.98 kB / 0.5819 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.03211, allocations: 0 / 0.5819 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.03213, allocations: 7.984 kB / 0.5819 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.03213, allocations: 3.938 kB / 0.5819 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.03213, allocations: 4 kB / 0.5819 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.03248, allocations: 290.4 kB / 0.5821 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.03256, allocations: 43.92 kB / 0.5822 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.03259, allocations: 11.97 kB / 0.5822 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.0327, allocations: 19.92 kB / 0.5822 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.03276, allocations: 15.97 kB / 0.5822 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.03277, allocations: 8 kB / 0.5822 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001702/0.03294, allocations: 247.2 kB / 0.5825 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.03294, allocations: 0 / 0.5825 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003622/0.0333, allocations: 131.6 kB / 0.5826 GB, free: 3.988 MB / 0.4948 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.0007684/0.03407, allocations: 0.9087 MB / 0.5835 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.03439, allocations: 238.3 kB / 0.5837 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03439, allocations: 4 kB / 0.5837 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.03449, allocations: 68.52 kB / 0.5838 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.03506, allocations: 226 kB / 0.584 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.03808, allocations: 3.104 MB / 0.587 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.03821, allocations: 189.8 kB / 0.5872 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.03845, allocations: 63.19 kB / 0.5873 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.0386, allocations: 116.5 kB / 0.5874 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/0.0386, allocations: 0 / 0.5874 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.06562, allocations: 11.68 MB / 0.5988 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.024, allocations: 3.938 kB / 0.5988 GB, free: 3.52 MB / 0.5105 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.51621412485838] Failed to read output from testmodel.py, exit status != 0: 7.116033924743533 7.133242385 7.105992545 Calling exit ...