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.0008173/0.0008173, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00137/0.00137, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8759/0.8759, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7217/0.7217, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.684e-06/1.684e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.732e-05, allocations: 2.281 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01102/0.01104, allocations: 13.4 MB / 0.6311 GB, free: 336 kB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.01438, allocations: 3.393 MB / 0.6344 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.01465, allocations: 23.81 kB / 0.6345 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.01513, allocations: 206.6 kB / 0.6346 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000883/0.01601, allocations: 0.6409 MB / 0.6353 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.01653, allocations: 425.2 kB / 0.6357 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008494/0.01737, allocations: 1.11 MB / 0.6368 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.01785, allocations: 256.9 kB / 0.637 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008376/0.01869, allocations: 0.558 MB / 0.6376 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.01895, allocations: 275.1 kB / 0.6378 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.01899, allocations: 32 kB / 0.6378 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.01927, allocations: 223.4 kB / 0.6381 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.01936, allocations: 103.6 kB / 0.6382 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.01947, allocations: 155.6 kB / 0.6383 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.02003, allocations: 0.6153 MB / 0.6389 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.02003, allocations: 0 / 0.6389 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/0.02004, allocations: 0 / 0.6389 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.02004, allocations: 0 / 0.6389 GB, free: 8.324 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.0008263/0.02087, allocations: 0.6777 MB / 0.6396 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.02091, allocations: 9.469 kB / 0.6396 GB, free: 7.602 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/0.02097, allocations: 62.72 kB / 0.6396 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.0211, allocations: 56.66 kB / 0.6397 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.02163, allocations: 404 kB / 0.6401 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.02165, allocations: 20.86 kB / 0.6401 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.0217, allocations: 32.38 kB / 0.6401 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.02211, allocations: 412.2 kB / 0.6405 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.02213, allocations: 4 kB / 0.6405 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.02215, allocations: 8 kB / 0.6405 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.02217, allocations: 12 kB / 0.6405 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.02245, allocations: 189.8 kB / 0.6407 GB, free: 6.352 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.001096/0.02355, allocations: 1.15 MB / 0.6418 GB, free: 5.137 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.02383, allocations: 158.1 kB / 0.642 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.02392, allocations: 68.81 kB / 0.6421 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.024, allocations: 8 kB / 0.6421 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.02423, allocations: 226.1 kB / 0.6423 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.02423, allocations: 0 / 0.6423 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003902/0.02462, allocations: 233.3 kB / 0.6425 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.02465, allocations: 63.39 kB / 0.6426 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.0249, allocations: 349.6 kB / 0.6429 GB, free: 3.988 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.02492, allocations: 37.64 kB / 0.6429 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.02504, allocations: 224 kB / 0.6432 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.02508, allocations: 51.59 kB / 0.6432 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.02514, allocations: 61.64 kB / 0.6433 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.02524, allocations: 334.8 kB / 0.6436 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.02536, allocations: 97.66 kB / 0.6437 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.0255, allocations: 175 kB / 0.6438 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.02575, allocations: 249 kB / 0.6441 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02575, allocations: 4 kB / 0.6441 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003583/0.02611, allocations: 346.6 kB / 0.6444 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.02616, allocations: 33.7 kB / 0.6444 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.02617, allocations: 0 / 0.6444 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.02618, allocations: 4.312 kB / 0.6445 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.02631, allocations: 59.91 kB / 0.6445 GB, free: 2.215 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.02632, allocations: 7.984 kB / 0.6445 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.02644, allocations: 35.72 kB / 0.6445 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.02647, allocations: 15.98 kB / 0.6446 GB, free: 2.156 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.000127/0.02659, allocations: 154.8 kB / 0.6447 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.02663, allocations: 39.77 kB / 0.6448 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.02691, allocations: 195.4 kB / 0.6449 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.02692, allocations: 7.984 kB / 0.6449 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.02692, allocations: 0 / 0.6449 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003568/0.02728, allocations: 487.6 kB / 0.6454 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.02757, allocations: 288.6 kB / 0.6457 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02757, allocations: 0 / 0.6457 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.02765, allocations: 35.92 kB / 0.6457 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.02766, allocations: 0 / 0.6457 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.02767, allocations: 8 kB / 0.6457 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02767, allocations: 0 / 0.6457 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02767, allocations: 0 / 0.6457 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.02805, allocations: 292.6 kB / 0.646 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.02813, allocations: 47.77 kB / 0.6461 GB, free: 484 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.02816, allocations: 8 kB / 0.6461 GB, free: 476 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.02827, allocations: 23.91 kB / 0.6461 GB, free: 452 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.02833, allocations: 19.97 kB / 0.6461 GB, free: 432 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.02835, allocations: 11.94 kB / 0.6461 GB, free: 420 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001767/0.02853, allocations: 247.2 kB / 0.6463 GB, free: 172 kB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02853, allocations: 0 / 0.6463 GB, free: 172 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002782/0.02881, allocations: 131.7 kB / 0.6465 GB, free: 40 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.0007475/0.02955, allocations: 0.9034 MB / 0.6474 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.02985, allocations: 249.2 kB / 0.6476 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02985, allocations: 0 / 0.6476 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.02995, allocations: 63.89 kB / 0.6477 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.03051, allocations: 215.8 kB / 0.6479 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.03336, allocations: 3.092 MB / 0.6509 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.03347, allocations: 185.8 kB / 0.6511 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.03362, allocations: 75.17 kB / 0.6511 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.03373, allocations: 116.5 kB / 0.6512 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.03373, allocations: 0 / 0.6512 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.05628, allocations: 11.66 MB / 0.6626 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.263, allocations: 6.438 kB / 0.6626 GB, free: 15.61 MB / 0.6355 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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: 9.990532021969557] Failed to read output from testmodel.py, exit status != 0: 7.347930304706097 7.356622734 7.33496123 Calling exit ...