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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001666, allocations: 110.7 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.25 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.197/1.197, allocations: 173.4 MB / 471.3 MB, free: 6.719 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001992/0.001993, allocations: 60.73 kB / 0.649 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2196, allocations: 89.53 MB / 0.7364 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0177/0.2374, allocations: 14.45 MB / 0.7505 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006271/0.2437, allocations: 3.651 MB / 0.7541 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.2444, allocations: 19.88 kB / 0.7541 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.2452, allocations: 202.7 kB / 0.7543 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.247, allocations: 0.5869 MB / 0.7549 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.248, allocations: 397.9 kB / 0.7552 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.2496, allocations: 1.091 MB / 0.7563 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.2501, allocations: 308.6 kB / 0.7566 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.2513, allocations: 433.8 kB / 0.757 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.2517, allocations: 306.6 kB / 0.7573 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.2518, allocations: 36 kB / 0.7573 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.2525, allocations: 251.6 kB / 0.7576 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2526, allocations: 103.6 kB / 0.7577 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.2529, allocations: 211 kB / 0.7579 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009947/0.2539, allocations: 0.5955 MB / 0.7585 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2539, allocations: 4 kB / 0.7585 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2539, allocations: 0 / 0.7585 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.2539, allocations: 0 / 0.7585 GB, free: 12.94 MB / 0.5762 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.00136/0.2553, allocations: 0.757 MB / 0.7592 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2554, allocations: 8.031 kB / 0.7592 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.2556, allocations: 52.66 kB / 0.7593 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.2564, allocations: 479.4 kB / 0.7597 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.2565, allocations: 20.56 kB / 0.7597 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.2565, allocations: 39.95 kB / 0.7598 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.2571, allocations: 302.2 kB / 0.7601 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.2572, allocations: 4 kB / 0.7601 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.2572, allocations: 8 kB / 0.7601 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.2572, allocations: 8 kB / 0.7601 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.2577, allocations: 198.1 kB / 0.7603 GB, free: 10.97 MB / 0.5762 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.001999/0.2597, allocations: 1.489 MB / 0.7617 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.2602, allocations: 158.6 kB / 0.7619 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2604, allocations: 72.06 kB / 0.7619 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.2606, allocations: 85.11 kB / 0.762 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.2609, allocations: 124.5 kB / 0.7621 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/0.2609, allocations: 0 / 0.7621 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006744/0.2616, allocations: 246.8 kB / 0.7624 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2616, allocations: 55.41 kB / 0.7624 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.2621, allocations: 345.7 kB / 0.7628 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.2621, allocations: 29.7 kB / 0.7628 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.2623, allocations: 220.1 kB / 0.763 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.2624, allocations: 55.52 kB / 0.763 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.2625, allocations: 61.66 kB / 0.7631 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.2627, allocations: 346.8 kB / 0.7634 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.263, allocations: 67.95 kB / 0.7635 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.2633, allocations: 141.4 kB / 0.7636 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.2638, allocations: 253 kB / 0.7639 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2639, allocations: 0 / 0.7639 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001096/0.265, allocations: 314.9 kB / 0.7642 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.265, allocations: 37.64 kB / 0.7642 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2651, allocations: 7.938 kB / 0.7642 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.2651, allocations: 4 kB / 0.7642 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.2655, allocations: 59.89 kB / 0.7643 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2655, allocations: 0 / 0.7643 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.2659, allocations: 39.77 kB / 0.7643 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.266, allocations: 16.19 kB / 0.7643 GB, free: 6.492 MB / 0.5762 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.000275/0.2663, allocations: 157.8 kB / 0.7645 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/0.2664, allocations: 39.7 kB / 0.7645 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/0.2669, allocations: 192.5 kB / 0.7647 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2669, allocations: 0 / 0.7647 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2669, allocations: 0 / 0.7647 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008155/0.2678, allocations: 489 kB / 0.7652 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.2685, allocations: 353.4 kB / 0.7655 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2685, allocations: 0 / 0.7655 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.2687, allocations: 31.98 kB / 0.7655 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.2687, allocations: 3.938 kB / 0.7655 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.2688, allocations: 4 kB / 0.7655 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2688, allocations: 0 / 0.7655 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.2688, allocations: 4 kB / 0.7656 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.2698, allocations: 290.5 kB / 0.7658 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.2701, allocations: 128.9 kB / 0.766 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.2701, allocations: 3.938 kB / 0.766 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.2705, allocations: 19.97 kB / 0.766 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.2706, allocations: 11.98 kB / 0.766 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.2706, allocations: 15.98 kB / 0.766 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004292/0.2711, allocations: 247.2 kB / 0.7662 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2711, allocations: 0 / 0.7662 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007284/0.2718, allocations: 127.7 kB / 0.7664 GB, free: 4.227 MB / 0.5762 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.0006009/0.2724, allocations: 198.9 kB / 0.7666 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007701/0.2732, allocations: 233.5 kB / 0.7668 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.2732, allocations: 4 kB / 0.7668 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.2735, allocations: 71.89 kB / 0.7668 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.2749, allocations: 203.5 kB / 0.767 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.2772, allocations: 0.7747 MB / 0.7678 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.2779, allocations: 0.7918 MB / 0.7686 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.278, allocations: 31.44 kB / 0.7686 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2781, allocations: 0 / 0.7686 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of Templates: time 0.01589/0.2939, allocations: 6.181 MB / 0.7746 GB, free: 11.73 MB / 0.5919 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: 9.689298095880076] Failed to read output from testmodel.py, exit status != 0: 0.3025566029828042 0.332785746 0.07345894800000001 Calling exit ...