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.001808/0.001808, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002597/0.002597, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.469/1.469, allocations: 225.6 MB / 249.4 MB, free: 3.137 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.074/1.074, allocations: 175.7 MB / 480.2 MB, free: 2.789 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.001974/0.001974, allocations: 71.69 kB / 0.6684 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2258, allocations: 94.54 MB / 0.7607 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01857/0.2443, allocations: 14.69 MB / 0.775 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006853/0.2512, allocations: 3.67 MB / 0.7786 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008578/0.252, allocations: 19.88 kB / 0.7786 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009177/0.253, allocations: 214.6 kB / 0.7788 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.255, allocations: 0.6181 MB / 0.7794 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2562, allocations: 401.1 kB / 0.7798 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.2578, allocations: 1.095 MB / 0.7809 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.2582, allocations: 252.6 kB / 0.7811 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.2595, allocations: 449.7 kB / 0.7816 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.26, allocations: 322.6 kB / 0.7819 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.2601, allocations: 32 kB / 0.7819 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008793/0.261, allocations: 267.5 kB / 0.7821 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.2612, allocations: 99.61 kB / 0.7822 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.2614, allocations: 214.9 kB / 0.7824 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.2624, allocations: 0.5955 MB / 0.783 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2624, allocations: 0 / 0.783 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2624, allocations: 0 / 0.783 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2624, allocations: 4 kB / 0.783 GB, free: 9.344 MB / 0.5919 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.0014/0.2638, allocations: 0.7608 MB / 0.7838 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2638, allocations: 15.97 kB / 0.7838 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.264, allocations: 52.59 kB / 0.7838 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.2649, allocations: 463.5 kB / 0.7843 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2649, allocations: 28.48 kB / 0.7843 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.265, allocations: 35.94 kB / 0.7843 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.2656, allocations: 302.2 kB / 0.7846 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2656, allocations: 0 / 0.7846 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.2656, allocations: 15.98 kB / 0.7846 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.2657, allocations: 11.98 kB / 0.7847 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.2661, allocations: 202 kB / 0.7849 GB, free: 7.367 MB / 0.5919 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.002223/0.2683, allocations: 1.478 MB / 0.7863 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.2688, allocations: 142.6 kB / 0.7864 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.269, allocations: 64.81 kB / 0.7865 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.2691, allocations: 89.09 kB / 0.7866 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.2694, allocations: 123.3 kB / 0.7867 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2694, allocations: 0 / 0.7867 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006702/0.2701, allocations: 250.9 kB / 0.7869 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.2702, allocations: 55.39 kB / 0.787 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.2706, allocations: 345.7 kB / 0.7873 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.2706, allocations: 29.7 kB / 0.7873 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.2708, allocations: 224.1 kB / 0.7876 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.2708, allocations: 47.59 kB / 0.7876 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2709, allocations: 61.59 kB / 0.7877 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2711, allocations: 346.8 kB / 0.788 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.2713, allocations: 75.95 kB / 0.7881 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2716, allocations: 145.3 kB / 0.7882 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.272, allocations: 240.5 kB / 0.7884 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.272, allocations: 0 / 0.7884 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005927/0.2726, allocations: 321 kB / 0.7887 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.2726, allocations: 37.64 kB / 0.7888 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2727, allocations: 4 kB / 0.7888 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2727, allocations: 4 kB / 0.7888 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2729, allocations: 55.91 kB / 0.7888 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2729, allocations: 3.984 kB / 0.7888 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.2732, allocations: 35.78 kB / 0.7889 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.2732, allocations: 11.98 kB / 0.7889 GB, free: 2.922 MB / 0.5919 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.0001823/0.2734, allocations: 157.9 kB / 0.789 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.2734, allocations: 39.7 kB / 0.7891 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.2739, allocations: 204.4 kB / 0.7893 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2739, allocations: 0 / 0.7893 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2739, allocations: 0 / 0.7893 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005517/0.2745, allocations: 485.9 kB / 0.7897 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.275, allocations: 357.4 kB / 0.7901 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.275, allocations: 0 / 0.7901 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.2751, allocations: 35.91 kB / 0.7901 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.2752, allocations: 3.938 kB / 0.7901 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2752, allocations: 0 / 0.7901 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2752, allocations: 0 / 0.7901 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.2752, allocations: 4 kB / 0.7901 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.2758, allocations: 284.7 kB / 0.7904 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2759, allocations: 125 kB / 0.7905 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.276, allocations: 11.92 kB / 0.7905 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2762, allocations: 15.98 kB / 0.7905 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.2763, allocations: 15.97 kB / 0.7905 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.2763, allocations: 11.94 kB / 0.7906 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002707/0.2766, allocations: 251.2 kB / 0.7908 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2766, allocations: 0 / 0.7908 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004614/0.277, allocations: 131.6 kB / 0.7909 GB, free: 0.6445 MB / 0.5919 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.0003868/0.2774, allocations: 194.9 kB / 0.7911 GB, free: 452 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.2779, allocations: 219.6 kB / 0.7913 GB, free: 220 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2779, allocations: 4.188 kB / 0.7913 GB, free: 216 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.2781, allocations: 68.61 kB / 0.7914 GB, free: 148 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009383/0.2791, allocations: 204.4 kB / 0.7916 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2806, allocations: 0.7574 MB / 0.7923 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.2811, allocations: 0.7879 MB / 0.7931 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.2813, allocations: 71.17 kB / 0.7932 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.2814, allocations: 31.44 kB / 0.7932 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.2814, allocations: 0 / 0.7932 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of Templates: time 0.01424/0.2956, allocations: 7.282 MB / 0.8003 GB, free: 7.07 MB / 0.6075 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.313583134673536]