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.001282/0.001282, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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: 162.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.551/1.551, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 1.199/1.199, allocations: 154.6 MB / 413.7 MB, free: 5.285 MB / 382.1 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 178] 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 2.505e-06/2.505e-06, allocations: 0 / 0.6185 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.297e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01798/0.01801, allocations: 13.43 MB / 0.6316 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00638/0.0244, allocations: 3.397 MB / 0.6349 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005868/0.02498, allocations: 27.75 kB / 0.6349 GB, free: 3.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000788/0.02577, allocations: 202.6 kB / 0.6351 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.02761, allocations: 0.6448 MB / 0.6358 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.02872, allocations: 413.8 kB / 0.6362 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.03048, allocations: 1.114 MB / 0.6373 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.03093, allocations: 250.2 kB / 0.6375 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.03235, allocations: 0.5674 MB / 0.638 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.03288, allocations: 275.1 kB / 0.6383 GB, free: 344 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.03295, allocations: 32 kB / 0.6383 GB, free: 312 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006545/0.0336, allocations: 215.5 kB / 0.6385 GB, free: 96 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.03376, allocations: 103.5 kB / 0.6386 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.03397, allocations: 147.7 kB / 0.6388 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.03498, allocations: 0.6154 MB / 0.6394 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.03498, allocations: 0 / 0.6394 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03499, allocations: 4 kB / 0.6394 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.03499, allocations: 7.875 kB / 0.6394 GB, free: 15.22 MB / 0.5606 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.001408/0.0364, allocations: 0.6777 MB / 0.6401 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.03645, allocations: 9.469 kB / 0.6401 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.03667, allocations: 52.66 kB / 0.6401 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.03752, allocations: 404 kB / 0.6405 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.03754, allocations: 20.88 kB / 0.6405 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.03761, allocations: 28.38 kB / 0.6405 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.03833, allocations: 416.4 kB / 0.6409 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.03835, allocations: 3.984 kB / 0.641 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.03839, allocations: 12 kB / 0.641 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.03842, allocations: 11.98 kB / 0.641 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.03893, allocations: 189.8 kB / 0.6412 GB, free: 13.32 MB / 0.5606 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.001825/0.04075, allocations: 1.1 MB / 0.6422 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.04123, allocations: 150.6 kB / 0.6424 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.04142, allocations: 64.81 kB / 0.6424 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.82e-05/0.04152, allocations: 12 kB / 0.6424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.04193, allocations: 234.1 kB / 0.6427 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.04193, allocations: 0 / 0.6427 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006954/0.04263, allocations: 229.3 kB / 0.6429 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.04268, allocations: 59.39 kB / 0.6429 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.04308, allocations: 324.5 kB / 0.6433 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.04311, allocations: 41.69 kB / 0.6433 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.04331, allocations: 216.4 kB / 0.6435 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.04337, allocations: 59.52 kB / 0.6436 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.04347, allocations: 45.7 kB / 0.6436 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.04367, allocations: 346.8 kB / 0.6439 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.0439, allocations: 109.6 kB / 0.644 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.04419, allocations: 171.6 kB / 0.6442 GB, free: 10 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.04466, allocations: 252.9 kB / 0.6444 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.04467, allocations: 0 / 0.6444 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006881/0.04536, allocations: 336.6 kB / 0.6448 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.0454, allocations: 36.05 kB / 0.6448 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.04541, allocations: 4 kB / 0.6448 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.04543, allocations: 4 kB / 0.6448 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.04568, allocations: 60.2 kB / 0.6449 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.0457, allocations: 11.94 kB / 0.6449 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.04595, allocations: 27.88 kB / 0.6449 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.04597, allocations: 12 kB / 0.6449 GB, free: 9.215 MB / 0.5606 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.000201/0.04617, allocations: 166.6 kB / 0.6451 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.04624, allocations: 35.77 kB / 0.6451 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.04674, allocations: 190.8 kB / 0.6453 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.04675, allocations: 8 kB / 0.6453 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.04675, allocations: 3.938 kB / 0.6453 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006056/0.04736, allocations: 487.7 kB / 0.6458 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.04779, allocations: 245.1 kB / 0.646 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.04779, allocations: 0 / 0.646 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.04797, allocations: 35.97 kB / 0.646 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.04797, allocations: 0 / 0.646 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.04798, allocations: 4 kB / 0.646 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.04799, allocations: 0 / 0.646 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.04799, allocations: 4 kB / 0.646 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.04869, allocations: 300.5 kB / 0.6463 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.04881, allocations: 43.83 kB / 0.6464 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.04886, allocations: 4 kB / 0.6464 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.04908, allocations: 15.98 kB / 0.6464 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.04915, allocations: 15.97 kB / 0.6464 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.04918, allocations: 7.984 kB / 0.6464 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000266/0.04944, allocations: 235.1 kB / 0.6466 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.04944, allocations: 0 / 0.6466 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004808/0.04992, allocations: 127.7 kB / 0.6468 GB, free: 7.176 MB / 0.5606 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.0003741/0.0503, allocations: 190.4 kB / 0.6469 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005471/0.05084, allocations: 249.9 kB / 0.6472 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.05085, allocations: 0 / 0.6472 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.05104, allocations: 64.52 kB / 0.6472 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.05202, allocations: 204.3 kB / 0.6474 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.05342, allocations: 0.6552 MB / 0.6481 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.05362, allocations: 181.1 kB / 0.6482 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.05382, allocations: 55.25 kB / 0.6483 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.05391, allocations: 40.48 kB / 0.6483 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.05391, allocations: 3.938 kB / 0.6483 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of Templates: time 0.01382/0.06773, allocations: 7.166 MB / 0.6553 GB, free: 14.52 MB / 0.5762 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.210126891732216] Failed to read output from testmodel.py, exit status != 0: 0.07710160315036774 0.090887753 0.052753406 Calling exit ...