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.001448/0.001448, allocations: 114.9 kB / 18.71 MB, free: 3.25 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.001495/0.001495, allocations: 200.4 kB / 21.97 MB, free: 0 / 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.341/1.341, allocations: 225.6 MB / 250.7 MB, free: 13.34 MB / 206.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.044/1.044, allocations: 175.7 MB / 481.6 MB, free: 7.855 MB / 382.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.002009/0.002009, allocations: 69.61 kB / 0.67 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4602, allocations: 94.52 MB / 0.7623 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002324/0.4625, allocations: 1.519 MB / 0.7638 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005591/0.4631, allocations: 418.7 kB / 0.7642 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.4631, allocations: 0.5625 kB / 0.7642 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.4632, allocations: 5.344 kB / 0.7642 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.4632, allocations: 15.67 kB / 0.7642 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.4633, allocations: 22.25 kB / 0.7642 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.4634, allocations: 48.34 kB / 0.7643 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.4635, allocations: 9.828 kB / 0.7643 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.4636, allocations: 29.62 kB / 0.7643 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.4637, allocations: 24.59 kB / 0.7643 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.4637, allocations: 2.781 kB / 0.7643 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.4637, allocations: 11.88 kB / 0.7644 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.4637, allocations: 3.844 kB / 0.7644 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.4637, allocations: 24.53 kB / 0.7644 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.4638, allocations: 50.91 kB / 0.7644 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4638, allocations: 4.344 kB / 0.7644 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4638, allocations: 4.641 kB / 0.7644 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.4638, allocations: 0 / 0.7644 GB, free: 9.125 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.0003885/0.4642, allocations: 362.3 kB / 0.7648 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4643, allocations: 8.406 kB / 0.7648 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.4643, allocations: 8.609 kB / 0.7648 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.413e-05/0.4644, allocations: 172.9 kB / 0.765 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.4644, allocations: 5.688 kB / 0.765 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.4644, allocations: 6.641 kB / 0.765 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.4645, allocations: 56.61 kB / 0.765 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4645, allocations: 2.406 kB / 0.765 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4646, allocations: 0.9062 kB / 0.765 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4646, allocations: 1.578 kB / 0.765 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.4647, allocations: 35.02 kB / 0.7651 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.465, allocations: 275.3 kB / 0.7653 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.4651, allocations: 42.19 kB / 0.7654 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.4651, allocations: 23.44 kB / 0.7654 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4651, allocations: 5.062 kB / 0.7654 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.145e-05/0.4651, allocations: 33.45 kB / 0.7654 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4651, allocations: 0 / 0.7654 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000283/0.4654, allocations: 85.06 kB / 0.7655 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.267e-05/0.4654, allocations: 52.22 kB / 0.7656 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.696e-05/0.4655, allocations: 122.3 kB / 0.7657 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.4655, allocations: 25.7 kB / 0.7657 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.4655, allocations: 92.56 kB / 0.7658 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.4656, allocations: 13.66 kB / 0.7658 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.4656, allocations: 13.83 kB / 0.7658 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.4656, allocations: 323.1 kB / 0.7661 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.4657, allocations: 17.86 kB / 0.7661 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.4657, allocations: 25.12 kB / 0.7662 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.4659, allocations: 41.92 kB / 0.7662 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4659, allocations: 0 / 0.7662 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000157/0.466, allocations: 73.14 kB / 0.7663 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.466, allocations: 6.219 kB / 0.7663 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.466, allocations: 0 / 0.7663 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4661, allocations: 0.6875 kB / 0.7663 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.4661, allocations: 13.42 kB / 0.7663 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4662, allocations: 4.594 kB / 0.7663 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.4662, allocations: 4.984 kB / 0.7663 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.4662, allocations: 6.844 kB / 0.7663 GB, free: 7.355 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 4.309e-05/0.4663, allocations: 113.4 kB / 0.7664 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.4663, allocations: 3.156 kB / 0.7664 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.4663, allocations: 10.52 kB / 0.7664 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4663, allocations: 1.688 kB / 0.7664 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4663, allocations: 4 kB / 0.7664 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.4663, allocations: 87.95 kB / 0.7665 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4663, allocations: 5.328 kB / 0.7665 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.4664, allocations: 4.438 kB / 0.7665 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.4665, allocations: 7.984 kB / 0.7665 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001949/0.4667, allocations: 152.2 kB / 0.7667 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001881/0.4668, allocations: 244.7 kB / 0.7669 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.074e-05/0.4669, allocations: 28.34 kB / 0.7669 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.4669, allocations: 93.02 kB / 0.767 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of Backend: time 1.61e-07/0.4669, allocations: 0 / 0.767 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.4673, allocations: 99.11 kB / 0.7671 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0003504/0.4676, allocations: 0.6101 MB / 0.7677 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of Templates: time 0.002929/0.4706, allocations: 0.6281 MB / 0.7683 GB, free: 5.93 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: 5.561805816949345] Failed to read output from testmodel.py, exit status != 0: 0.47803685802500695 0.48787155699999996 0.021434541 Calling exit ...