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.001443/0.001443, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.001658/0.001658, allocations: 163.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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 1.206/1.206, allocations: 154.6 MB / 413.8 MB, free: 5.195 MB / 382.1 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 178] 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 2.064e-06/2.064e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.984e-05, allocations: 3.656 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01684/0.01687, allocations: 13.44 MB / 0.6317 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005423/0.02229, allocations: 3.397 MB / 0.635 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.02268, allocations: 23.81 kB / 0.635 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.02332, allocations: 202.6 kB / 0.6352 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.02484, allocations: 0.6409 MB / 0.6358 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.02578, allocations: 428 kB / 0.6362 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.02715, allocations: 1.102 MB / 0.6373 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.02755, allocations: 249 kB / 0.6376 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.02879, allocations: 0.5647 MB / 0.6381 GB, free: 472 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.02921, allocations: 271.2 kB / 0.6384 GB, free: 200 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.02927, allocations: 36 kB / 0.6384 GB, free: 164 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.02976, allocations: 219.4 kB / 0.6386 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.02989, allocations: 103.5 kB / 0.6387 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.03009, allocations: 151.7 kB / 0.6389 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008623/0.03095, allocations: 0.6153 MB / 0.6395 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.03096, allocations: 3.938 kB / 0.6395 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03096, allocations: 0 / 0.6395 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.03097, allocations: 0 / 0.6395 GB, free: 15.07 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.001195/0.03216, allocations: 0.6816 MB / 0.6401 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.0322, allocations: 12.02 kB / 0.6401 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.03238, allocations: 48.66 kB / 0.6402 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/0.03313, allocations: 408 kB / 0.6406 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.03316, allocations: 20.88 kB / 0.6406 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.03322, allocations: 24.38 kB / 0.6406 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.03388, allocations: 416.4 kB / 0.641 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.0339, allocations: 7.984 kB / 0.641 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.03393, allocations: 8 kB / 0.641 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.03395, allocations: 8 kB / 0.641 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.03445, allocations: 193.8 kB / 0.6412 GB, free: 13.17 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.001713/0.03616, allocations: 1.104 MB / 0.6423 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.03663, allocations: 146.6 kB / 0.6424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.03682, allocations: 60.81 kB / 0.6425 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-05/0.03692, allocations: 12 kB / 0.6425 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003687/0.03729, allocations: 240.7 kB / 0.6427 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.03729, allocations: 3.938 kB / 0.6427 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006654/0.03795, allocations: 233.3 kB / 0.643 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.03799, allocations: 51.41 kB / 0.643 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.03838, allocations: 332.4 kB / 0.6433 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.03841, allocations: 29.7 kB / 0.6434 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.03859, allocations: 216.4 kB / 0.6436 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.03865, allocations: 59.52 kB / 0.6436 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.03873, allocations: 49.7 kB / 0.6437 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.0389, allocations: 354.7 kB / 0.644 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.03912, allocations: 93.66 kB / 0.6441 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.03945, allocations: 184.8 kB / 0.6443 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.03991, allocations: 248.6 kB / 0.6445 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.03992, allocations: 0 / 0.6445 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006557/0.04057, allocations: 338.9 kB / 0.6448 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.04061, allocations: 38 kB / 0.6449 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.04062, allocations: 4 kB / 0.6449 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.04063, allocations: 4 kB / 0.6449 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.04087, allocations: 59.91 kB / 0.6449 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.04088, allocations: 4 kB / 0.6449 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.04112, allocations: 27.88 kB / 0.645 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.04115, allocations: 8 kB / 0.645 GB, free: 9.07 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.0001766/0.04133, allocations: 167.5 kB / 0.6451 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.04139, allocations: 39.77 kB / 0.6452 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.04189, allocations: 203.4 kB / 0.6454 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.04189, allocations: 0 / 0.6454 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.04189, allocations: 0 / 0.6454 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000552/0.04244, allocations: 483.8 kB / 0.6458 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.04281, allocations: 253 kB / 0.6461 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.04281, allocations: 0 / 0.6461 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.04299, allocations: 35.98 kB / 0.6461 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.04299, allocations: 0 / 0.6461 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.04301, allocations: 7.984 kB / 0.6461 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.04301, allocations: 0 / 0.6461 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.04301, allocations: 3.938 kB / 0.6461 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.04368, allocations: 292.6 kB / 0.6464 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.04379, allocations: 43.83 kB / 0.6464 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.04383, allocations: 0 / 0.6464 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.04406, allocations: 23.97 kB / 0.6465 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.04413, allocations: 19.97 kB / 0.6465 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.04415, allocations: 4 kB / 0.6465 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002555/0.04441, allocations: 231 kB / 0.6467 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.04441, allocations: 0 / 0.6467 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004294/0.04484, allocations: 123.7 kB / 0.6468 GB, free: 7.031 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.0003263/0.04517, allocations: 194.9 kB / 0.647 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005202/0.04569, allocations: 249.2 kB / 0.6472 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.04569, allocations: 4 kB / 0.6472 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.04588, allocations: 63.89 kB / 0.6473 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.04682, allocations: 201.4 kB / 0.6475 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.0481, allocations: 0.6514 MB / 0.6481 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.04828, allocations: 181.1 kB / 0.6483 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.04849, allocations: 63.19 kB / 0.6484 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.04858, allocations: 36.48 kB / 0.6484 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.04858, allocations: 0 / 0.6484 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.01341/0.06198, allocations: 7.152 MB / 0.6554 GB, free: 14.39 MB / 0.5762 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.019835401326418] Failed to read output from testmodel.py, exit status != 0: 0.0712963230907917 0.08625641599999995 0.052191693000000004 Calling exit ...