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.001592/0.001592, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001457/0.001457, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9196/0.9196, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.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="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: 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.002299/0.002299, allocations: 70.03 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1785, allocations: 89.18 MB / 0.7281 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01881/0.1973, allocations: 13.48 MB / 0.7413 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005906/0.2032, allocations: 3.39 MB / 0.7446 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006442/0.2038, allocations: 23.81 kB / 0.7446 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.2046, allocations: 206.7 kB / 0.7448 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.2066, allocations: 0.6181 MB / 0.7454 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2078, allocations: 402.1 kB / 0.7458 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.2097, allocations: 1.125 MB / 0.7469 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006078/0.2103, allocations: 260.9 kB / 0.7472 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.2118, allocations: 446.4 kB / 0.7476 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.2124, allocations: 310.6 kB / 0.7479 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.2125, allocations: 32 kB / 0.7479 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.2132, allocations: 219.5 kB / 0.7481 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.2134, allocations: 99.59 kB / 0.7482 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.2137, allocations: 175.2 kB / 0.7484 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.2149, allocations: 0.6111 MB / 0.749 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2149, allocations: 0 / 0.749 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.644e-06/0.215, allocations: 0 / 0.749 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.215, allocations: 3.938 kB / 0.749 GB, free: 11.59 MB / 0.5762 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.001485/0.2165, allocations: 0.6855 MB / 0.7497 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2165, allocations: 8.031 kB / 0.7497 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.272e-05/0.2166, allocations: 62.72 kB / 0.7497 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.2168, allocations: 48.66 kB / 0.7498 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.2178, allocations: 412.1 kB / 0.7502 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.2178, allocations: 24.44 kB / 0.7502 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.2179, allocations: 24 kB / 0.7502 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.2186, allocations: 412.1 kB / 0.7506 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.2186, allocations: 7.953 kB / 0.7506 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.2186, allocations: 12 kB / 0.7506 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.2187, allocations: 11.98 kB / 0.7506 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.2192, allocations: 193.8 kB / 0.7508 GB, free: 9.605 MB / 0.5762 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.002039/0.2212, allocations: 1.146 MB / 0.7519 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.2217, allocations: 146.6 kB / 0.7521 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.2219, allocations: 64.81 kB / 0.7521 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.2221, allocations: 4 kB / 0.7522 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003936/0.2224, allocations: 238 kB / 0.7524 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 4.849e-06/0.2224, allocations: 4 kB / 0.7524 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007049/0.2232, allocations: 232 kB / 0.7526 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.2232, allocations: 59.39 kB / 0.7527 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.2237, allocations: 349.6 kB / 0.753 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.2237, allocations: 29.7 kB / 0.753 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2239, allocations: 220.1 kB / 0.7532 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.224, allocations: 55.52 kB / 0.7533 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2241, allocations: 53.66 kB / 0.7533 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2243, allocations: 346.8 kB / 0.7537 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.2245, allocations: 109.6 kB / 0.7538 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.2248, allocations: 171.1 kB / 0.7539 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.2253, allocations: 247.2 kB / 0.7542 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2253, allocations: 0 / 0.7542 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007172/0.226, allocations: 350 kB / 0.7545 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.226, allocations: 37.64 kB / 0.7545 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.226, allocations: 4 kB / 0.7545 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2261, allocations: 4 kB / 0.7545 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.2263, allocations: 59.89 kB / 0.7546 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.2263, allocations: 4 kB / 0.7546 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.2266, allocations: 31.83 kB / 0.7546 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.2266, allocations: 15.98 kB / 0.7547 GB, free: 5.402 MB / 0.5762 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.0002105/0.2269, allocations: 165.9 kB / 0.7548 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.2269, allocations: 35.75 kB / 0.7548 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.2274, allocations: 196.4 kB / 0.755 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2275, allocations: 7.938 kB / 0.755 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2275, allocations: 4 kB / 0.755 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005434/0.228, allocations: 483.7 kB / 0.7555 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.2285, allocations: 288.6 kB / 0.7558 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2285, allocations: 0 / 0.7558 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.2287, allocations: 35.92 kB / 0.7558 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2287, allocations: 3.938 kB / 0.7558 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.2287, allocations: 3.984 kB / 0.7558 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2287, allocations: 4 kB / 0.7558 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2287, allocations: 0 / 0.7558 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.2294, allocations: 287.9 kB / 0.7561 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.2296, allocations: 59.61 kB / 0.7562 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.2296, allocations: 11.98 kB / 0.7562 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2299, allocations: 11.98 kB / 0.7562 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.23, allocations: 20.05 kB / 0.7562 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.23, allocations: 4 kB / 0.7562 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003224/0.2303, allocations: 251.1 kB / 0.7564 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2303, allocations: 0 / 0.7564 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000545/0.2308, allocations: 131.7 kB / 0.7566 GB, free: 3.285 MB / 0.5762 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.001352/0.2322, allocations: 0.9045 MB / 0.7575 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006257/0.2328, allocations: 248.8 kB / 0.7577 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2328, allocations: 0 / 0.7577 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.2331, allocations: 67.89 kB / 0.7578 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.2341, allocations: 211.4 kB / 0.758 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3302/0.5643, allocations: 3.168 MB / 0.7611 GB, free: 34.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.5645, allocations: 185 kB / 0.7612 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.5648, allocations: 59.83 kB / 0.7613 GB, free: 34.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.565, allocations: 118.7 kB / 0.7614 GB, free: 34.53 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.565, allocations: 0 / 0.7614 GB, free: 34.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04222/0.6072, allocations: 11.57 MB / 0.7727 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.83, allocations: 5.344 kB / 0.7727 GB, free: 32.95 MB / 0.5762 GB " [Timeout remaining time 648] (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: 15.459476904012263] Failed to read output from testmodel.py, exit status != 0: 11.944927114062011 11.960526747 11.742571329 Calling exit ...