Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001814/0.001814, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001704/0.001704, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8218/0.8218, allocations: 134 MB / 446.4 MB, free: 9.977 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001964/0.001964, allocations: 65.44 kB / 0.6185 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1973, allocations: 85.91 MB / 0.7024 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.02849/0.2258, allocations: 13.48 MB / 0.7155 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2362, allocations: 3.387 MB / 0.7188 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000886/0.2371, allocations: 23.81 kB / 0.7189 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.2383, allocations: 206.7 kB / 0.7191 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.2412, allocations: 0.622 MB / 0.7197 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.243, allocations: 401.5 kB / 0.72 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.2454, allocations: 1.117 MB / 0.7211 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006754/0.2461, allocations: 261 kB / 0.7214 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.2477, allocations: 398.5 kB / 0.7218 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000843/0.2485, allocations: 314.6 kB / 0.7221 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.2487, allocations: 32 kB / 0.7221 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009047/0.2496, allocations: 223.5 kB / 0.7223 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.2498, allocations: 99.61 kB / 0.7224 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.2502, allocations: 175.2 kB / 0.7226 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.2517, allocations: 0.6111 MB / 0.7232 GB, free: 11.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2517, allocations: 0 / 0.7232 GB, free: 11.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2517, allocations: 4 kB / 0.7232 GB, free: 11.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.2517, allocations: 0 / 0.7232 GB, free: 11.74 MB / 0.545 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.00205/0.2538, allocations: 0.6854 MB / 0.7238 GB, free: 11.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.2538, allocations: 12.02 kB / 0.7239 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.254, allocations: 54.73 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.2543, allocations: 52.66 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.2556, allocations: 407.8 kB / 0.7243 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.2557, allocations: 20.5 kB / 0.7244 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.2558, allocations: 35.94 kB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.2569, allocations: 412 kB / 0.7248 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.2569, allocations: 4 kB / 0.7248 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.257, allocations: 15.98 kB / 0.7248 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.257, allocations: 11.92 kB / 0.7248 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.2578, allocations: 189.8 kB / 0.725 GB, free: 9.746 MB / 0.545 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.002739/0.2605, allocations: 1.139 MB / 0.7261 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.261, allocations: 154.6 kB / 0.7263 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.2612, allocations: 64.81 kB / 0.7263 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-05/0.2613, allocations: 8 kB / 0.7263 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.2616, allocations: 238 kB / 0.7266 GB, free: 8.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2616, allocations: 0 / 0.7266 GB, free: 8.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006401/0.2622, allocations: 239.4 kB / 0.7268 GB, free: 7.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2623, allocations: 55.41 kB / 0.7268 GB, free: 7.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.2627, allocations: 357.6 kB / 0.7272 GB, free: 7.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2627, allocations: 29.7 kB / 0.7272 GB, free: 7.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.263, allocations: 224.1 kB / 0.7274 GB, free: 7.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.263, allocations: 55.53 kB / 0.7275 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/0.2631, allocations: 57.66 kB / 0.7275 GB, free: 6.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2633, allocations: 342.8 kB / 0.7279 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.2635, allocations: 93.66 kB / 0.7279 GB, free: 6.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.2638, allocations: 171.1 kB / 0.7281 GB, free: 6.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.2642, allocations: 253.1 kB / 0.7284 GB, free: 6.062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2642, allocations: 0 / 0.7284 GB, free: 6.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006868/0.2649, allocations: 344.5 kB / 0.7287 GB, free: 5.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.2649, allocations: 41.62 kB / 0.7287 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2649, allocations: 4 kB / 0.7287 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.265, allocations: 4 kB / 0.7287 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.2652, allocations: 55.84 kB / 0.7288 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2652, allocations: 8.312 kB / 0.7288 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.2655, allocations: 35.77 kB / 0.7288 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.2655, allocations: 16 kB / 0.7288 GB, free: 5.539 MB / 0.545 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.000172/0.2657, allocations: 157.8 kB / 0.729 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.2657, allocations: 39.7 kB / 0.729 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.2662, allocations: 192.5 kB / 0.7292 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2662, allocations: 0 / 0.7292 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2662, allocations: 4 kB / 0.7292 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005362/0.2667, allocations: 485.8 kB / 0.7297 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.2671, allocations: 296.5 kB / 0.73 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2671, allocations: 7.938 kB / 0.73 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.2673, allocations: 27.97 kB / 0.73 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2673, allocations: 4 kB / 0.73 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2673, allocations: 4 kB / 0.73 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.2673, allocations: 4 kB / 0.73 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2673, allocations: 4 kB / 0.73 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.268, allocations: 284.6 kB / 0.7303 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.2681, allocations: 59.84 kB / 0.7303 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.2682, allocations: 0 / 0.7303 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2684, allocations: 15.98 kB / 0.7304 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.2684, allocations: 15.97 kB / 0.7304 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.2685, allocations: 11.98 kB / 0.7304 GB, free: 3.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002718/0.2687, allocations: 247.2 kB / 0.7306 GB, free: 3.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2687, allocations: 4 kB / 0.7306 GB, free: 3.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004408/0.2692, allocations: 131.6 kB / 0.7307 GB, free: 3.43 MB / 0.545 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.001161/0.2703, allocations: 0.9041 MB / 0.7316 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.2709, allocations: 262.9 kB / 0.7319 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2709, allocations: 128 / 0.7319 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.271, allocations: 67.89 kB / 0.7319 GB, free: 2.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.272, allocations: 202.9 kB / 0.7321 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.2765, allocations: 3.192 MB / 0.7353 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.2767, allocations: 186.1 kB / 0.7354 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002727/0.2769, allocations: 70.14 kB / 0.7355 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.2771, allocations: 115.4 kB / 0.7356 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2771, allocations: 4 kB / 0.7356 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/0.3225, allocations: 11.56 MB / 0.7469 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.93, allocations: 9.156 kB / 0.7469 GB, free: 2.961 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.80882589891553] Failed to read output from testmodel.py, exit status != 0: 12.045634598936886 12.35597652 12.101449341 Calling exit ...