Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008657/0.0008657, allocations: 105.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001153/0.001153, allocations: 219.1 kB / 22.26 MB, free: 3.699 MB / 13.93 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.9197/0.9197, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8422/0.8422, allocations: 203.8 MB / 0.5042 GB, free: 10.82 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_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.001305/0.001305, allocations: 70.61 kB / 0.7182 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5205, allocations: 102 MB / 0.8178 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01258/0.533, allocations: 14.81 MB / 0.8323 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00434/0.5374, allocations: 3.678 MB / 0.8359 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.5379, allocations: 24.28 kB / 0.8359 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.5385, allocations: 214 kB / 0.8361 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.5399, allocations: 0.6323 MB / 0.8367 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.5409, allocations: 410 kB / 0.8371 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.5422, allocations: 1.13 MB / 0.8382 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.5427, allocations: 261.4 kB / 0.8385 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.5437, allocations: 456.9 kB / 0.8389 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.5442, allocations: 323.2 kB / 0.8392 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.5443, allocations: 32.53 kB / 0.8393 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.5449, allocations: 285.3 kB / 0.8395 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.545, allocations: 101.7 kB / 0.8396 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.5453, allocations: 213.2 kB / 0.8398 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009036/0.5462, allocations: 0.6147 MB / 0.8404 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5462, allocations: 0 / 0.8404 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5462, allocations: 5.219 kB / 0.8404 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.5462, allocations: 0 / 0.8404 GB, free: 1.875 MB / 0.6198 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.001033/0.5472, allocations: 0.6855 MB / 0.8411 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.5473, allocations: 10.12 kB / 0.8411 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.5473, allocations: 66.09 kB / 0.8412 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.5475, allocations: 51.03 kB / 0.8412 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/0.5482, allocations: 402.3 kB / 0.8416 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.5482, allocations: 27.28 kB / 0.8416 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.5482, allocations: 26.69 kB / 0.8417 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.5487, allocations: 312 kB / 0.842 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5488, allocations: 1.156 kB / 0.842 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.5488, allocations: 11.84 kB / 0.842 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.5488, allocations: 11.47 kB / 0.842 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.5492, allocations: 194.6 kB / 0.8422 GB, free: 0.7461 MB / 0.6198 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.001521/0.5507, allocations: 1.425 MB / 0.8436 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.551, allocations: 152 kB / 0.8437 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.5511, allocations: 61.72 kB / 0.8438 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.5513, allocations: 14.09 kB / 0.8438 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.5515, allocations: 126.2 kB / 0.8439 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.5515, allocations: 1.25 kB / 0.8439 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004839/0.552, allocations: 246 kB / 0.8441 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.552, allocations: 57.55 kB / 0.8442 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.5523, allocations: 345.6 kB / 0.8445 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5523, allocations: 32.05 kB / 0.8445 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5525, allocations: 217.1 kB / 0.8448 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.5525, allocations: 62.31 kB / 0.8448 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.5526, allocations: 57.66 kB / 0.8449 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5527, allocations: 341.8 kB / 0.8452 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.5528, allocations: 73.09 kB / 0.8453 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.553, allocations: 149.4 kB / 0.8454 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.5532, allocations: 240.2 kB / 0.8456 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5532, allocations: 4.969 kB / 0.8456 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000416/0.5537, allocations: 317.3 kB / 0.8459 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.5537, allocations: 37.02 kB / 0.846 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5537, allocations: 2 kB / 0.846 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5537, allocations: 8.594 kB / 0.846 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5539, allocations: 54.22 kB / 0.846 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.5539, allocations: 7.422 kB / 0.846 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.554, allocations: 36.62 kB / 0.8461 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.554, allocations: 17.39 kB / 0.8461 GB, free: 13.74 MB / 0.6355 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.0001288/0.5542, allocations: 150 kB / 0.8462 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.5542, allocations: 36.45 kB / 0.8463 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.5545, allocations: 196 kB / 0.8465 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5545, allocations: 9.328 kB / 0.8465 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5545, allocations: 4 kB / 0.8465 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003004/0.5548, allocations: 480.4 kB / 0.8469 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.5551, allocations: 324.8 kB / 0.8472 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5551, allocations: 0 / 0.8472 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.5552, allocations: 31.34 kB / 0.8473 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5552, allocations: 1.375 kB / 0.8473 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5552, allocations: 9.312 kB / 0.8473 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5552, allocations: 9.312 kB / 0.8473 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5552, allocations: 4 kB / 0.8473 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.5556, allocations: 287.1 kB / 0.8476 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.5557, allocations: 48.2 kB / 0.8476 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.5557, allocations: 2.75 kB / 0.8476 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5558, allocations: 28.22 kB / 0.8476 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.5559, allocations: 9.859 kB / 0.8477 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.5559, allocations: 12.86 kB / 0.8477 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001991/0.5561, allocations: 246.3 kB / 0.8479 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5561, allocations: 1.344 kB / 0.8479 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003675/0.5565, allocations: 131.7 kB / 0.848 GB, free: 12.21 MB / 0.6355 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.5576, allocations: 0.9017 MB / 0.8489 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.5581, allocations: 221.4 kB / 0.8491 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5581, allocations: 1.531 kB / 0.8491 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.5582, allocations: 70.92 kB / 0.8492 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.559, allocations: 213.4 kB / 0.8494 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.5637, allocations: 3.071 MB / 0.8524 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.564, allocations: 0.7983 MB / 0.8532 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.5643, allocations: 63.95 kB / 0.8532 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5645, allocations: 117.5 kB / 0.8533 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/0.5645, allocations: 0 / 0.8533 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.594, allocations: 10.5 MB / 0.8636 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.943, allocations: 12.44 kB / 0.8636 GB, free: 2.793 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.010558552108705] Failed to read output from testmodel.py, exit status != 0: 8.024601358221844 8.039861773 7.490264636 Calling exit ...