Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009775/0.0009775, allocations: 72.5 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.001095/0.001095, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9732/0.9732, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7322/0.7322, allocations: 154.6 MB / 414.5 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.327e-05, allocations: 5.453 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01331/0.01335, allocations: 13.42 MB / 0.6324 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003696/0.01704, allocations: 3.397 MB / 0.6357 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.01733, allocations: 27.75 kB / 0.6358 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.01788, allocations: 198.7 kB / 0.636 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009311/0.01881, allocations: 0.6486 MB / 0.6366 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.01935, allocations: 416.4 kB / 0.637 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.02046, allocations: 1.106 MB / 0.6381 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.02075, allocations: 260.9 kB / 0.6383 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008355/0.02159, allocations: 0.559 MB / 0.6389 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.02185, allocations: 279.1 kB / 0.6391 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.02189, allocations: 35.94 kB / 0.6392 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.02214, allocations: 219.5 kB / 0.6394 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.02222, allocations: 103.5 kB / 0.6395 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.02234, allocations: 147.6 kB / 0.6396 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.02291, allocations: 0.6115 MB / 0.6402 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02292, allocations: 0 / 0.6402 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.02292, allocations: 0 / 0.6402 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.02292, allocations: 0 / 0.6402 GB, free: 7.711 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.0008013/0.02372, allocations: 0.6854 MB / 0.6409 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.02376, allocations: 8.031 kB / 0.6409 GB, free: 6.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.0239, allocations: 52.64 kB / 0.6409 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.02451, allocations: 404 kB / 0.6413 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.02454, allocations: 24.86 kB / 0.6413 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.02459, allocations: 28.36 kB / 0.6414 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.02511, allocations: 412.4 kB / 0.6418 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.02513, allocations: 3.938 kB / 0.6418 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.02515, allocations: 12 kB / 0.6418 GB, free: 6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.02517, allocations: 16 kB / 0.6418 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.02544, allocations: 193.8 kB / 0.642 GB, free: 5.793 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.001022/0.02646, allocations: 1.092 MB / 0.643 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.02674, allocations: 154.6 kB / 0.6432 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.02683, allocations: 60.81 kB / 0.6432 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-05/0.02692, allocations: 8 kB / 0.6433 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.02714, allocations: 232.4 kB / 0.6435 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.02714, allocations: 0 / 0.6435 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003739/0.02752, allocations: 229.3 kB / 0.6437 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.02755, allocations: 59.34 kB / 0.6438 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.02779, allocations: 332.4 kB / 0.6441 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.02781, allocations: 29.7 kB / 0.6441 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.02793, allocations: 228.3 kB / 0.6443 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.02796, allocations: 51.59 kB / 0.6444 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.02802, allocations: 53.66 kB / 0.6444 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.02814, allocations: 346.7 kB / 0.6447 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.02825, allocations: 101.6 kB / 0.6448 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.02839, allocations: 175.6 kB / 0.645 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.02866, allocations: 248.3 kB / 0.6452 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02866, allocations: 0 / 0.6452 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003324/0.02899, allocations: 342.5 kB / 0.6456 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.02902, allocations: 41.72 kB / 0.6456 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.02903, allocations: 0 / 0.6456 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.02904, allocations: 4 kB / 0.6456 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.02916, allocations: 55.91 kB / 0.6457 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.02917, allocations: 7.938 kB / 0.6457 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.02928, allocations: 35.77 kB / 0.6457 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.0293, allocations: 12 kB / 0.6457 GB, free: 1.691 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.0001136/0.02942, allocations: 162.7 kB / 0.6459 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.02945, allocations: 35.81 kB / 0.6459 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.02977, allocations: 195.1 kB / 0.6461 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.02977, allocations: 0 / 0.6461 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.02978, allocations: 0 / 0.6461 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002586/0.03003, allocations: 479.8 kB / 0.6466 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.03026, allocations: 261 kB / 0.6468 GB, free: 468 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.03026, allocations: 0 / 0.6468 GB, free: 468 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.761e-05/0.03033, allocations: 31.98 kB / 0.6468 GB, free: 436 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.03034, allocations: 0 / 0.6468 GB, free: 436 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.03035, allocations: 7.984 kB / 0.6468 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.03035, allocations: 4 kB / 0.6468 GB, free: 424 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.03035, allocations: 4 kB / 0.6469 GB, free: 420 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.03068, allocations: 276.7 kB / 0.6471 GB, free: 124 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.03075, allocations: 51.77 kB / 0.6472 GB, free: 72 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.03077, allocations: 8 kB / 0.6472 GB, free: 64 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.03087, allocations: 15.97 kB / 0.6472 GB, free: 48 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.03092, allocations: 19.97 kB / 0.6472 GB, free: 28 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.03093, allocations: 4 kB / 0.6472 GB, free: 24 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001538/0.03109, allocations: 231 kB / 0.6474 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.03109, allocations: 0 / 0.6474 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002534/0.03134, allocations: 127.7 kB / 0.6476 GB, free: 15.68 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.0003731/0.03171, allocations: 201.5 kB / 0.6477 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.032, allocations: 256.7 kB / 0.648 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.032, allocations: 0 / 0.648 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.03209, allocations: 63.91 kB / 0.648 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.03255, allocations: 190.8 kB / 0.6482 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009017/0.03345, allocations: 0.6881 MB / 0.6489 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.03356, allocations: 181.1 kB / 0.6491 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.03363, allocations: 36.42 kB / 0.6491 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.03363, allocations: 4 kB / 0.6491 GB, free: 14 MB / 0.6198 GB Notification: Performance of Templates: time 0.005667/0.0393, allocations: 6.15 MB / 0.6551 GB, free: 7.922 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.543474947102368] Failed to read output from testmodel.py, exit status != 0: 0.046049644239246845 0.052259737 0.027728539000000003 Calling exit ...