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.00137/0.00137, allocations: 114.9 kB / 17.84 MB, free: 5.312 MB / 14.72 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.001493/0.001493, allocations: 201.6 kB / 20.8 MB, free: 2.371 MB / 14.72 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.422/1.422, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.9262/0.9262, allocations: 150 MB / 460.2 MB, free: 5.363 MB / 350.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 78.17 kB / 0.6368 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1693, allocations: 89.13 MB / 0.7238 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01645/0.1857, allocations: 14.63 MB / 0.7381 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005592/0.1913, allocations: 3.662 MB / 0.7417 GB, free: 1.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.1918, allocations: 31.75 kB / 0.7417 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.1924, allocations: 210.7 kB / 0.7419 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.1937, allocations: 0.6181 MB / 0.7425 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.1946, allocations: 402 kB / 0.7429 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.1959, allocations: 1.089 MB / 0.744 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.1963, allocations: 264.6 kB / 0.7442 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.1976, allocations: 450.2 kB / 0.7447 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.198, allocations: 326.6 kB / 0.745 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.1981, allocations: 32 kB / 0.745 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.1987, allocations: 279.5 kB / 0.7453 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1988, allocations: 99.59 kB / 0.7454 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.1991, allocations: 214.9 kB / 0.7456 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2001, allocations: 0.6189 MB / 0.7462 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2001, allocations: 0 / 0.7462 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.787e-06/0.2001, allocations: 4 kB / 0.7462 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.2001, allocations: 0 / 0.7462 GB, free: 13.18 MB / 0.5606 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.001469/0.2016, allocations: 0.7569 MB / 0.7469 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2017, allocations: 8.031 kB / 0.7469 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.303e-05/0.2017, allocations: 12.75 kB / 0.7469 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.759e-05/0.2018, allocations: 58.67 kB / 0.747 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.202, allocations: 52.66 kB / 0.747 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.2028, allocations: 475.1 kB / 0.7475 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2028, allocations: 16.56 kB / 0.7475 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.2029, allocations: 35.89 kB / 0.7475 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.2035, allocations: 310.2 kB / 0.7478 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2035, allocations: 3.938 kB / 0.7478 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.2035, allocations: 12 kB / 0.7479 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.2035, allocations: 4 kB / 0.7479 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.204, allocations: 194.1 kB / 0.748 GB, free: 11.15 MB / 0.5606 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.001865/0.2059, allocations: 1.482 MB / 0.7495 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.2063, allocations: 150.6 kB / 0.7496 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.2065, allocations: 64.81 kB / 0.7497 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.2067, allocations: 93.09 kB / 0.7498 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.207, allocations: 133 kB / 0.7499 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.207, allocations: 4 kB / 0.7499 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006654/0.2076, allocations: 237.3 kB / 0.7501 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.2077, allocations: 55.34 kB / 0.7502 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.2081, allocations: 349.7 kB / 0.7505 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2081, allocations: 25.7 kB / 0.7506 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.2083, allocations: 224.1 kB / 0.7508 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.2084, allocations: 51.53 kB / 0.7508 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.2085, allocations: 57.66 kB / 0.7509 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2086, allocations: 342.8 kB / 0.7512 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.2088, allocations: 71.95 kB / 0.7513 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.2091, allocations: 149.9 kB / 0.7514 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.2095, allocations: 249 kB / 0.7516 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2095, allocations: 0 / 0.7516 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006104/0.2101, allocations: 318.9 kB / 0.7519 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.2102, allocations: 29.7 kB / 0.752 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2102, allocations: 4 kB / 0.752 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2102, allocations: 4 kB / 0.752 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2104, allocations: 59.89 kB / 0.752 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2104, allocations: 7.938 kB / 0.7521 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.2107, allocations: 39.77 kB / 0.7521 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2107, allocations: 12.19 kB / 0.7521 GB, free: 6.688 MB / 0.5606 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.000167/0.2108, allocations: 161.8 kB / 0.7523 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.2109, allocations: 39.7 kB / 0.7523 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.2114, allocations: 202.2 kB / 0.7525 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2114, allocations: 0 / 0.7525 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2114, allocations: 0 / 0.7525 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005347/0.2119, allocations: 487.7 kB / 0.753 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.2124, allocations: 353.4 kB / 0.7533 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2124, allocations: 0 / 0.7533 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.2125, allocations: 31.92 kB / 0.7533 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2125, allocations: 0 / 0.7533 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2126, allocations: 7.984 kB / 0.7533 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2126, allocations: 0 / 0.7533 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2126, allocations: 0 / 0.7533 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.2132, allocations: 289.6 kB / 0.7536 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2133, allocations: 124.9 kB / 0.7537 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.2134, allocations: 7.984 kB / 0.7537 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2136, allocations: 15.98 kB / 0.7537 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.2136, allocations: 19.92 kB / 0.7538 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.2137, allocations: 7.984 kB / 0.7538 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002585/0.2139, allocations: 251.2 kB / 0.754 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2139, allocations: 0 / 0.754 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004291/0.2144, allocations: 131.6 kB / 0.7541 GB, free: 4.418 MB / 0.5606 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.001158/0.2155, allocations: 0.902 MB / 0.755 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.216, allocations: 229.3 kB / 0.7552 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.216, allocations: 0 / 0.7552 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.2162, allocations: 63.91 kB / 0.7553 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.2171, allocations: 221.3 kB / 0.7555 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.2215, allocations: 3.071 MB / 0.7585 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2219, allocations: 0.7879 MB / 0.7593 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.2221, allocations: 71.14 kB / 0.7593 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.2223, allocations: 115.4 kB / 0.7595 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2223, allocations: 0 / 0.7595 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.2523, allocations: 10.27 MB / 0.7695 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.832/9.085, allocations: 11.88 kB / 0.7695 GB, free: 4.684 MB / 0.5762 GB " [Timeout remaining time 651] (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: 12.837705422018189] Failed to read output from testmodel.py, exit status != 0: 9.215006891987287 9.238506614 9.034068835 Calling exit ...