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.001073/0.001073, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001334/0.001334, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7366/0.7366, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.64e-05, allocations: 6.828 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0104/0.01042, allocations: 13.41 MB / 0.6311 GB, free: 300 kB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003772/0.01419, allocations: 3.393 MB / 0.6344 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003604/0.01455, allocations: 23.81 kB / 0.6345 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.01508, allocations: 198.6 kB / 0.6346 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.01625, allocations: 0.6487 MB / 0.6353 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.01696, allocations: 423.8 kB / 0.6357 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001368/0.01833, allocations: 1.098 MB / 0.6368 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.01867, allocations: 260.9 kB / 0.637 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008922/0.01956, allocations: 0.5596 MB / 0.6375 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.01984, allocations: 267.1 kB / 0.6378 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.01988, allocations: 32 kB / 0.6378 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.02022, allocations: 227.4 kB / 0.6381 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.02031, allocations: 111.5 kB / 0.6382 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.02043, allocations: 147.7 kB / 0.6383 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.02106, allocations: 0.6192 MB / 0.6389 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02106, allocations: 4 kB / 0.6389 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02106, allocations: 0 / 0.6389 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.02107, allocations: 0 / 0.6389 GB, free: 8.289 MB / 0.6042 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.000888/0.02196, allocations: 0.6699 MB / 0.6396 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.02201, allocations: 13.47 kB / 0.6396 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.02206, allocations: 62.72 kB / 0.6396 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.0222, allocations: 48.66 kB / 0.6397 GB, free: 7.453 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.02285, allocations: 408 kB / 0.6401 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.02288, allocations: 24.88 kB / 0.6401 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.02292, allocations: 24.38 kB / 0.6401 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.02336, allocations: 416.2 kB / 0.6405 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.02338, allocations: 4 kB / 0.6405 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.0234, allocations: 8 kB / 0.6405 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.02342, allocations: 11.98 kB / 0.6405 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.0237, allocations: 189.8 kB / 0.6407 GB, free: 6.324 MB / 0.6042 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.001125/0.02482, allocations: 1.154 MB / 0.6418 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.02511, allocations: 146.6 kB / 0.642 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.0252, allocations: 60.81 kB / 0.642 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/0.0253, allocations: 15.98 kB / 0.6421 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.02552, allocations: 242 kB / 0.6423 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.02552, allocations: 3.938 kB / 0.6423 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003859/0.02591, allocations: 229.3 kB / 0.6425 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.02594, allocations: 55.41 kB / 0.6426 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.02619, allocations: 357.6 kB / 0.6429 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.02621, allocations: 29.7 kB / 0.6429 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.02632, allocations: 220.1 kB / 0.6431 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.02636, allocations: 55.58 kB / 0.6432 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.02642, allocations: 57.66 kB / 0.6433 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.02651, allocations: 342.8 kB / 0.6436 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.02664, allocations: 97.66 kB / 0.6437 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.02678, allocations: 175 kB / 0.6438 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.02704, allocations: 244.8 kB / 0.6441 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02704, allocations: 4 kB / 0.6441 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003475/0.02739, allocations: 342.8 kB / 0.6444 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.02741, allocations: 35.89 kB / 0.6444 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02742, allocations: 7.984 kB / 0.6444 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.02744, allocations: 4 kB / 0.6444 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.02756, allocations: 52.22 kB / 0.6445 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.02757, allocations: 8 kB / 0.6445 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.02769, allocations: 43.7 kB / 0.6445 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.02771, allocations: 12 kB / 0.6446 GB, free: 2.125 MB / 0.6042 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.0001205/0.02783, allocations: 161.8 kB / 0.6447 GB, free: 1.961 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.02786, allocations: 35.77 kB / 0.6447 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.02834, allocations: 198.8 kB / 0.6449 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.02834, allocations: 4 kB / 0.6449 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.02835, allocations: 0 / 0.6449 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003036/0.02865, allocations: 487.6 kB / 0.6454 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.02894, allocations: 292.6 kB / 0.6457 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02894, allocations: 0 / 0.6457 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/0.02903, allocations: 31.97 kB / 0.6457 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.02903, allocations: 0 / 0.6457 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.02904, allocations: 0 / 0.6457 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02904, allocations: 0 / 0.6457 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02905, allocations: 15.88 kB / 0.6457 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.02939, allocations: 295.5 kB / 0.646 GB, free: 492 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.02947, allocations: 47.77 kB / 0.6461 GB, free: 444 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.0295, allocations: 4 kB / 0.6461 GB, free: 440 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.02961, allocations: 11.98 kB / 0.6461 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.02966, allocations: 19.97 kB / 0.6461 GB, free: 408 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.02967, allocations: 11.92 kB / 0.6461 GB, free: 396 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001656/0.02984, allocations: 251.2 kB / 0.6463 GB, free: 144 kB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02984, allocations: 0 / 0.6463 GB, free: 144 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003049/0.03014, allocations: 127.7 kB / 0.6465 GB, free: 16 kB / 0.6042 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.0008754/0.03102, allocations: 0.9089 MB / 0.6474 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.03132, allocations: 241.4 kB / 0.6476 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.03132, allocations: 8.062 kB / 0.6476 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.03141, allocations: 59.91 kB / 0.6476 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.03194, allocations: 211.5 kB / 0.6478 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.03479, allocations: 3.102 MB / 0.6509 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.03492, allocations: 185.8 kB / 0.6511 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001879/0.03511, allocations: 67.22 kB / 0.6511 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.03524, allocations: 124.4 kB / 0.6512 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.03524, allocations: 0 / 0.6512 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.05983, allocations: 11.67 MB / 0.6626 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.531, allocations: 0 / 0.6626 GB, free: 15.58 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.327372699044645] Failed to read output from testmodel.py, exit status != 0: 7.617886480875313 7.628902462 7.605062222 Calling exit ...