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.000767/0.000767, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001441/0.001441, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.945/0.945, allocations: 230.6 MB / 256 MB, free: 9.625 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.786/0.786, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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.001093/0.001093, allocations: 66.75 kB / 0.7181 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5412, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01346/0.5547, allocations: 13.51 MB / 0.831 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005167/0.5598, allocations: 3.403 MB / 0.8343 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.5605, allocations: 24.03 kB / 0.8343 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.5612, allocations: 201.3 kB / 0.8345 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.563, allocations: 0.625 MB / 0.8351 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.5641, allocations: 403.4 kB / 0.8355 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.5658, allocations: 1.11 MB / 0.8366 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.5663, allocations: 253.6 kB / 0.8368 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.5676, allocations: 453 kB / 0.8373 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006312/0.5683, allocations: 313.7 kB / 0.8376 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.5683, allocations: 32.78 kB / 0.8376 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009677/0.5693, allocations: 215.3 kB / 0.8378 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.5695, allocations: 100.8 kB / 0.8379 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004008/0.5699, allocations: 175.7 kB / 0.8381 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.5715, allocations: 0.6061 MB / 0.8387 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.5715, allocations: 1.156 kB / 0.8387 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5715, allocations: 0 / 0.8387 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.5715, allocations: 3.938 kB / 0.8387 GB, free: 3.465 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.001353/0.5729, allocations: 0.6861 MB / 0.8393 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5729, allocations: 10.97 kB / 0.8393 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.573, allocations: 62.05 kB / 0.8394 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.5732, allocations: 51.11 kB / 0.8394 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.574, allocations: 406.3 kB / 0.8398 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.574, allocations: 23.56 kB / 0.8399 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.5741, allocations: 26.12 kB / 0.8399 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.5747, allocations: 413.3 kB / 0.8403 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5748, allocations: 4 kB / 0.8403 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.5748, allocations: 16.7 kB / 0.8403 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.5748, allocations: 6.281 kB / 0.8403 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.5752, allocations: 194.3 kB / 0.8405 GB, free: 2.215 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.001637/0.5769, allocations: 1.143 MB / 0.8416 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.5772, allocations: 150.6 kB / 0.8417 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.5773, allocations: 62.08 kB / 0.8418 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.5774, allocations: 9.281 kB / 0.8418 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.5777, allocations: 230.5 kB / 0.842 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.5777, allocations: 0 / 0.842 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004835/0.5782, allocations: 251.7 kB / 0.8423 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5783, allocations: 54.12 kB / 0.8423 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.5786, allocations: 357 kB / 0.8427 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.5787, allocations: 31.33 kB / 0.8427 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.5788, allocations: 221.2 kB / 0.8429 GB, free: 460 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.5789, allocations: 58.02 kB / 0.843 GB, free: 408 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.579, allocations: 50.11 kB / 0.843 GB, free: 372 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5791, allocations: 346.1 kB / 0.8433 GB, free: 24 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.5793, allocations: 99.44 kB / 0.8434 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.5795, allocations: 174.2 kB / 0.8436 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.5798, allocations: 255 kB / 0.8438 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5798, allocations: 1.188 kB / 0.8438 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004503/0.5802, allocations: 341.3 kB / 0.8442 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.5803, allocations: 41.59 kB / 0.8442 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5803, allocations: 2.531 kB / 0.8442 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5803, allocations: 7.125 kB / 0.8442 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.5805, allocations: 54.47 kB / 0.8443 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.5805, allocations: 4.281 kB / 0.8443 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.5807, allocations: 36.36 kB / 0.8443 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5807, allocations: 13.03 kB / 0.8443 GB, free: 15.29 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.0001407/0.5808, allocations: 163 kB / 0.8445 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.5809, allocations: 31.84 kB / 0.8445 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.5812, allocations: 191.9 kB / 0.8447 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5812, allocations: 5.312 kB / 0.8447 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5812, allocations: 1.375 kB / 0.8447 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003044/0.5815, allocations: 487 kB / 0.8452 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.5818, allocations: 293.2 kB / 0.8454 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5819, allocations: 5.188 kB / 0.8454 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.5819, allocations: 35.72 kB / 0.8455 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5819, allocations: 0 / 0.8455 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.582, allocations: 1.719 kB / 0.8455 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.582, allocations: 9.406 kB / 0.8455 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.582, allocations: 0 / 0.8455 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.5824, allocations: 290.8 kB / 0.8458 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.5825, allocations: 48.8 kB / 0.8458 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.5825, allocations: 6.219 kB / 0.8458 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5826, allocations: 16.92 kB / 0.8458 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.5827, allocations: 17 kB / 0.8459 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5827, allocations: 13.36 kB / 0.8459 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001989/0.5829, allocations: 247.3 kB / 0.8461 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5829, allocations: 0 / 0.8461 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000413/0.5833, allocations: 127.9 kB / 0.8462 GB, free: 13.8 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.0007808/0.5841, allocations: 0.9065 MB / 0.8471 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.5844, allocations: 241.1 kB / 0.8473 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5844, allocations: 3.984 kB / 0.8473 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.5845, allocations: 66.31 kB / 0.8474 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.5852, allocations: 218.6 kB / 0.8476 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.5892, allocations: 3.187 MB / 0.8507 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.5894, allocations: 181.5 kB / 0.8509 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003816/0.5898, allocations: 70.58 kB / 0.851 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.59, allocations: 116.8 kB / 0.8511 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/0.59, allocations: 1 kB / 0.8511 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.6214, allocations: 11.56 MB / 0.8624 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.626, allocations: 4.344 kB / 0.8624 GB, free: 4.109 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: 10.651622948236763] Failed to read output from testmodel.py, exit status != 0: 7.708521421998739 7.718011453 7.14438893 Calling exit ...