Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001682/0.001682, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002026/0.002026, allocations: 186 kB / 20.78 MB, free: 1.547 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.593/1.593, allocations: 225.6 MB / 249.4 MB, free: 3.168 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.238/1.238, allocations: 175.7 MB / 480.2 MB, free: 2.781 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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.94 kB / 0.6684 GB, free: 10.71 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2611, allocations: 94.53 MB / 0.7607 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00336/0.2644, allocations: 1.525 MB / 0.7622 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.2654, allocations: 419 kB / 0.7626 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.2655, allocations: 0 / 0.7626 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/0.2655, allocations: 3.938 kB / 0.7626 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.2656, allocations: 19.84 kB / 0.7626 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.2659, allocations: 15.92 kB / 0.7626 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.266, allocations: 55.72 kB / 0.7627 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2662, allocations: 11.94 kB / 0.7627 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2663, allocations: 27.91 kB / 0.7627 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.2665, allocations: 19.92 kB / 0.7627 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2665, allocations: 8 kB / 0.7627 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.2665, allocations: 0 / 0.7627 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.2665, allocations: 15.92 kB / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.2666, allocations: 19.88 kB / 0.7628 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2668, allocations: 47.8 kB / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2668, allocations: 3.938 kB / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.627e-06/0.2668, allocations: 0 / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.2668, allocations: 0 / 0.7628 GB, free: 14.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008237/0.2676, allocations: 360.5 kB / 0.7632 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.2677, allocations: 12.03 kB / 0.7632 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.2677, allocations: 8.891 kB / 0.7632 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.268, allocations: 176.3 kB / 0.7633 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.268, allocations: 4.375 kB / 0.7633 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.268, allocations: 3.938 kB / 0.7633 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.2683, allocations: 53.67 kB / 0.7634 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2683, allocations: 0 / 0.7634 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2683, allocations: 0 / 0.7634 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.2683, allocations: 0 / 0.7634 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2685, allocations: 43.95 kB / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.2691, allocations: 276.8 kB / 0.7637 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.2692, allocations: 42.5 kB / 0.7637 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.2693, allocations: 24.88 kB / 0.7638 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.2693, allocations: 8 kB / 0.7638 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.2694, allocations: 30.56 kB / 0.7638 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2694, allocations: 0 / 0.7638 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003559/0.2697, allocations: 89.58 kB / 0.7639 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.2698, allocations: 55.41 kB / 0.7639 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2699, allocations: 117.8 kB / 0.7641 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.27, allocations: 25.7 kB / 0.7641 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.27, allocations: 96.09 kB / 0.7642 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.2701, allocations: 11.94 kB / 0.7642 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2701, allocations: 13.72 kB / 0.7642 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2703, allocations: 322.8 kB / 0.7645 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.2704, allocations: 19.98 kB / 0.7645 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.2704, allocations: 11.98 kB / 0.7645 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2705, allocations: 44.78 kB / 0.7646 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2705, allocations: 8 kB / 0.7646 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002162/0.2708, allocations: 77.55 kB / 0.7647 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2708, allocations: 5.719 kB / 0.7647 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2708, allocations: 0 / 0.7647 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2708, allocations: 4 kB / 0.7647 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.2709, allocations: 7.984 kB / 0.7647 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2709, allocations: 0 / 0.7647 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.271, allocations: 8 kB / 0.7647 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.271, allocations: 3.938 kB / 0.7647 GB, free: 11.99 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001123/0.2711, allocations: 117.8 kB / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2711, allocations: 4 kB / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.2712, allocations: 7.906 kB / 0.7648 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2712, allocations: 0 / 0.7648 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2712, allocations: 0 / 0.7648 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2712, allocations: 0 / 0.7648 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2714, allocations: 181.5 kB / 0.765 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2714, allocations: 4 kB / 0.765 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.2715, allocations: 7.984 kB / 0.765 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.2715, allocations: 4 kB / 0.765 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2715, allocations: 0 / 0.765 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2715, allocations: 0 / 0.765 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.2715, allocations: 0 / 0.765 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2717, allocations: 175.7 kB / 0.7652 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.2718, allocations: 81.06 kB / 0.7652 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2718, allocations: 0 / 0.7652 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.2719, allocations: 12.03 kB / 0.7653 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.2719, allocations: 3.984 kB / 0.7653 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2719, allocations: 7.938 kB / 0.7653 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.868e-05/0.272, allocations: 95.2 kB / 0.7654 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.272, allocations: 0 / 0.7654 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002167/0.2722, allocations: 11.94 kB / 0.7654 GB, free: 11.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000157/0.2724, allocations: 103.2 kB / 0.7655 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.2726, allocations: 47.84 kB / 0.7655 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2726, allocations: 0 / 0.7655 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.2727, allocations: 19.98 kB / 0.7655 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2729, allocations: 0 / 0.7655 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.2734, allocations: 176.7 kB / 0.7657 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.2738, allocations: 0.6807 MB / 0.7664 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.2738, allocations: 7.984 kB / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.2739, allocations: 7.438 kB / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.2739, allocations: 0 / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.003072/0.2769, allocations: 467.1 kB / 0.7668 GB, free: 9.633 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.472587116993964]