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.0008538/0.0008538, allocations: 114.4 kB / 19.7 MB, free: 0.5273 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.0008753/0.0008753, allocations: 208 kB / 23 MB, free: 3.129 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.9063/0.9063, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.7572/0.7572, allocations: 203.8 MB / 0.5049 GB, free: 0.6719 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: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [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.0009912/0.0009912, allocations: 68.09 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5277, allocations: 102 MB / 0.8191 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01436/0.542, allocations: 14.8 MB / 0.8335 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004377/0.5464, allocations: 3.678 MB / 0.8371 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.547, allocations: 24.19 kB / 0.8371 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.5477, allocations: 218.5 kB / 0.8373 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.5491, allocations: 0.6314 MB / 0.838 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008828/0.55, allocations: 405.3 kB / 0.8383 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.5513, allocations: 1.144 MB / 0.8395 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.5517, allocations: 256.9 kB / 0.8397 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.5528, allocations: 445.7 kB / 0.8401 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.5532, allocations: 323 kB / 0.8404 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.5532, allocations: 33.22 kB / 0.8405 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006203/0.5538, allocations: 288.9 kB / 0.8408 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.5539, allocations: 97.38 kB / 0.8408 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.5541, allocations: 217.8 kB / 0.8411 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008187/0.5549, allocations: 0.618 MB / 0.8417 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5549, allocations: 1.75 kB / 0.8417 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5549, allocations: 0 / 0.8417 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.555, allocations: 1.188 kB / 0.8417 GB, free: 9.91 MB / 0.6355 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.0008449/0.5558, allocations: 0.6856 MB / 0.8423 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5558, allocations: 10.72 kB / 0.8423 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.556, allocations: 51.44 kB / 0.8424 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.5566, allocations: 406.4 kB / 0.8428 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5566, allocations: 19.94 kB / 0.8428 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.5566, allocations: 34.02 kB / 0.8428 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.557, allocations: 309.2 kB / 0.8431 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5571, allocations: 0 / 0.8431 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.5571, allocations: 11.67 kB / 0.8431 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.5571, allocations: 11.06 kB / 0.8431 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.5574, allocations: 195.5 kB / 0.8433 GB, free: 8.84 MB / 0.6355 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.001177/0.5586, allocations: 1.424 MB / 0.8447 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.5589, allocations: 148.6 kB / 0.8449 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.559, allocations: 66.38 kB / 0.8449 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/0.5591, allocations: 8.078 kB / 0.8449 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.5593, allocations: 128.1 kB / 0.8451 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.5593, allocations: 3.938 kB / 0.8451 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003971/0.5597, allocations: 237.9 kB / 0.8453 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.5597, allocations: 58.31 kB / 0.8453 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.56, allocations: 351.6 kB / 0.8457 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.56, allocations: 33.28 kB / 0.8457 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5601, allocations: 219.9 kB / 0.8459 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.5602, allocations: 55.58 kB / 0.846 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.5602, allocations: 58.47 kB / 0.846 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.5603, allocations: 340 kB / 0.8464 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.5604, allocations: 74 kB / 0.8464 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.5605, allocations: 156.5 kB / 0.8466 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.5608, allocations: 239.9 kB / 0.8468 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5608, allocations: 1.094 kB / 0.8468 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000361/0.5611, allocations: 320.5 kB / 0.8471 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.5612, allocations: 34.16 kB / 0.8471 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5612, allocations: 2.562 kB / 0.8471 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5612, allocations: 3.344 kB / 0.8471 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5613, allocations: 63.2 kB / 0.8472 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5614, allocations: 5.172 kB / 0.8472 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.5615, allocations: 36.47 kB / 0.8472 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.5615, allocations: 10.39 kB / 0.8473 GB, free: 6.023 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.0001085/0.5616, allocations: 161.2 kB / 0.8474 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.5617, allocations: 33.05 kB / 0.8474 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.562, allocations: 193.3 kB / 0.8476 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.562, allocations: 11.94 kB / 0.8476 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.562, allocations: 0 / 0.8476 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000223/0.5622, allocations: 483.8 kB / 0.8481 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.5625, allocations: 328.3 kB / 0.8484 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5625, allocations: 0 / 0.8484 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/0.5626, allocations: 37.83 kB / 0.8484 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5626, allocations: 1.531 kB / 0.8484 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5626, allocations: 2.234 kB / 0.8484 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5626, allocations: 4.594 kB / 0.8485 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5626, allocations: 9.062 kB / 0.8485 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.563, allocations: 277.4 kB / 0.8487 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.5631, allocations: 51.34 kB / 0.8488 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.5631, allocations: 7.406 kB / 0.8488 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5632, allocations: 25.84 kB / 0.8488 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.5633, allocations: 17.69 kB / 0.8488 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5633, allocations: 6.344 kB / 0.8488 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000183/0.5635, allocations: 247.6 kB / 0.8491 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5635, allocations: 3.938 kB / 0.8491 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004049/0.5639, allocations: 130.7 kB / 0.8492 GB, free: 4.703 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.0002712/0.5641, allocations: 186.9 kB / 0.8494 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.5645, allocations: 224.3 kB / 0.8496 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5645, allocations: 0 / 0.8496 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.5646, allocations: 64.48 kB / 0.8496 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.5652, allocations: 209.2 kB / 0.8498 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5662, allocations: 0.7794 MB / 0.8506 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.5664, allocations: 0.7852 MB / 0.8514 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.5665, allocations: 38.33 kB / 0.8514 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.5665, allocations: 0 / 0.8514 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of Templates: time 0.009036/0.5755, allocations: 6.19 MB / 0.8575 GB, free: 1.605 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.008473271969706] Failed to read output from testmodel.py, exit status != 0: 0.5831390200182796 0.594470849 0.037249067000000004 Calling exit ...