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.0009219/0.0009219, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008993/0.0008993, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9147/0.9147, allocations: 177.1 MB / 203.5 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.7265/0.7265, allocations: 154.5 MB / 414.5 MB, free: 0.8672 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: 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.563e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01044/0.01046, allocations: 13.4 MB / 0.6324 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.01414, allocations: 3.386 MB / 0.6357 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.01449, allocations: 27.75 kB / 0.6357 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.01501, allocations: 202.6 kB / 0.6359 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.01609, allocations: 0.6481 MB / 0.6365 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.01671, allocations: 419.4 kB / 0.6369 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.01789, allocations: 1.106 MB / 0.638 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.01827, allocations: 256.9 kB / 0.6382 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009325/0.0192, allocations: 0.5638 MB / 0.6388 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.01952, allocations: 267.2 kB / 0.639 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.01957, allocations: 35.94 kB / 0.6391 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.01989, allocations: 219.5 kB / 0.6393 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.01998, allocations: 107.6 kB / 0.6394 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.02011, allocations: 151.6 kB / 0.6395 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.02073, allocations: 0.6153 MB / 0.6401 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.02073, allocations: 0 / 0.6401 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02073, allocations: 4 kB / 0.6401 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.02074, allocations: 0 / 0.6401 GB, free: 7.809 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.000882/0.02162, allocations: 0.6815 MB / 0.6408 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.02166, allocations: 9.469 kB / 0.6408 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.0218, allocations: 48.66 kB / 0.6409 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.02236, allocations: 415.9 kB / 0.6413 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.02238, allocations: 24.81 kB / 0.6413 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.02242, allocations: 28.36 kB / 0.6413 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.02283, allocations: 420.4 kB / 0.6417 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.02284, allocations: 3.938 kB / 0.6417 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.02286, allocations: 12 kB / 0.6417 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.02288, allocations: 4 kB / 0.6417 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.02315, allocations: 189.8 kB / 0.6419 GB, free: 5.895 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.001051/0.0242, allocations: 1.092 MB / 0.643 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.02448, allocations: 154.6 kB / 0.6431 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.02457, allocations: 60.81 kB / 0.6432 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.02465, allocations: 11.98 kB / 0.6432 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.02487, allocations: 230.1 kB / 0.6434 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.02487, allocations: 0 / 0.6434 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003827/0.02525, allocations: 235.6 kB / 0.6436 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.02529, allocations: 55.34 kB / 0.6437 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.02551, allocations: 332.4 kB / 0.644 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.02554, allocations: 29.7 kB / 0.644 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.02564, allocations: 216.4 kB / 0.6442 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.02568, allocations: 55.53 kB / 0.6443 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.02574, allocations: 61.64 kB / 0.6444 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.02583, allocations: 342.8 kB / 0.6447 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.02594, allocations: 93.66 kB / 0.6448 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.02608, allocations: 175.1 kB / 0.6449 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.02633, allocations: 253.5 kB / 0.6452 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02634, allocations: 4 kB / 0.6452 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003576/0.0267, allocations: 338.5 kB / 0.6455 GB, free: 1.961 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.02673, allocations: 36.05 kB / 0.6455 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.02673, allocations: 3.938 kB / 0.6455 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.02675, allocations: 4 kB / 0.6455 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.02687, allocations: 59.91 kB / 0.6456 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.02688, allocations: 11.94 kB / 0.6456 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.02699, allocations: 36.14 kB / 0.6456 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.02701, allocations: 11.98 kB / 0.6457 GB, free: 1.797 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.0001238/0.02713, allocations: 162.6 kB / 0.6458 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.02716, allocations: 31.81 kB / 0.6458 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.02743, allocations: 196.3 kB / 0.646 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.02743, allocations: 0 / 0.646 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.02743, allocations: 0 / 0.646 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003027/0.02773, allocations: 490.4 kB / 0.6465 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.02796, allocations: 253 kB / 0.6467 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.02796, allocations: 0 / 0.6467 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.02804, allocations: 35.91 kB / 0.6468 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.02805, allocations: 3.984 kB / 0.6468 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.02806, allocations: 8 kB / 0.6468 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.02806, allocations: 0 / 0.6468 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02806, allocations: 0 / 0.6468 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.02839, allocations: 288.6 kB / 0.6471 GB, free: 220 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.02846, allocations: 39.84 kB / 0.6471 GB, free: 180 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.02849, allocations: 7.984 kB / 0.6471 GB, free: 172 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.02859, allocations: 19.92 kB / 0.6471 GB, free: 152 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.02864, allocations: 15.97 kB / 0.6471 GB, free: 136 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.02865, allocations: 8 kB / 0.6471 GB, free: 128 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001605/0.02881, allocations: 231 kB / 0.6474 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.02881, allocations: 0 / 0.6474 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002705/0.02908, allocations: 127.7 kB / 0.6475 GB, free: 15.78 MB / 0.6198 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.0002463/0.02933, allocations: 198 kB / 0.6477 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.02962, allocations: 248.8 kB / 0.6479 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02962, allocations: 0 / 0.6479 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.02978, allocations: 67.89 kB / 0.648 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.03027, allocations: 204 kB / 0.6482 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.03109, allocations: 0.6677 MB / 0.6488 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.0312, allocations: 189.1 kB / 0.649 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.03127, allocations: 36.44 kB / 0.649 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.03127, allocations: 0 / 0.649 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.005717/0.03698, allocations: 6.142 MB / 0.655 GB, free: 8.031 MB / 0.6198 GB " [Timeout remaining time 660] 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: 6.604067279957235] Failed to read output from testmodel.py, exit status != 0: 0.042526256293058395 0.052406553 0.02949513 Calling exit ...