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.001492/0.001492, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001644/0.001644, allocations: 191.7 kB / 22.17 MB, free: 5.652 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.378/1.378, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.083/1.083, allocations: 175.8 MB / 481.9 MB, free: 7.688 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.001957/0.001957, allocations: 63.94 kB / 0.6705 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5343, allocations: 94.53 MB / 0.7628 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002729/0.537, allocations: 1.522 MB / 0.7643 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005661/0.5376, allocations: 415.6 kB / 0.7647 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.5376, allocations: 0.5 kB / 0.7647 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.5377, allocations: 5.344 kB / 0.7647 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.5377, allocations: 12.44 kB / 0.7647 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.5379, allocations: 18 kB / 0.7647 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.538, allocations: 53.5 kB / 0.7648 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.538, allocations: 9.812 kB / 0.7648 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.5381, allocations: 29.2 kB / 0.7648 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.5382, allocations: 27.45 kB / 0.7648 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.5382, allocations: 3.25 kB / 0.7648 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.5382, allocations: 4.062 kB / 0.7649 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.5383, allocations: 11.45 kB / 0.7649 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.5383, allocations: 20.56 kB / 0.7649 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.5384, allocations: 48.56 kB / 0.7649 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5384, allocations: 1.156 kB / 0.7649 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5384, allocations: 4.812 kB / 0.7649 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5384, allocations: 0 / 0.7649 GB, free: 9.066 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.0004018/0.5388, allocations: 363.9 kB / 0.7653 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5388, allocations: 9.906 kB / 0.7653 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.5388, allocations: 9.078 kB / 0.7653 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.071e-05/0.5389, allocations: 174.3 kB / 0.7655 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.5389, allocations: 1.469 kB / 0.7655 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.539, allocations: 6.375 kB / 0.7655 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5391, allocations: 60.5 kB / 0.7655 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5391, allocations: 1.641 kB / 0.7655 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.5391, allocations: 0 / 0.7655 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5391, allocations: 2.25 kB / 0.7655 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.5393, allocations: 34.36 kB / 0.7656 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.5396, allocations: 274.6 kB / 0.7658 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.5397, allocations: 50.53 kB / 0.7659 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.5398, allocations: 26.48 kB / 0.7659 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.5398, allocations: 1.25 kB / 0.7659 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.5398, allocations: 32.09 kB / 0.7659 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5398, allocations: 0 / 0.7659 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002965/0.5401, allocations: 81.61 kB / 0.766 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.5401, allocations: 57.27 kB / 0.7661 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.5402, allocations: 118 kB / 0.7662 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.5402, allocations: 29.64 kB / 0.7662 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.5402, allocations: 96.81 kB / 0.7663 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.5402, allocations: 9.438 kB / 0.7663 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.5402, allocations: 18.44 kB / 0.7663 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.5403, allocations: 317.8 kB / 0.7666 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.5404, allocations: 17.47 kB / 0.7666 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.5404, allocations: 22.67 kB / 0.7667 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.5405, allocations: 43.91 kB / 0.7667 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5405, allocations: 3.938 kB / 0.7667 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001515/0.5407, allocations: 69.17 kB / 0.7668 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5407, allocations: 5.5 kB / 0.7668 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5407, allocations: 1.281 kB / 0.7668 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5407, allocations: 0 / 0.7668 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.5408, allocations: 17.98 kB / 0.7668 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5408, allocations: 1.984 kB / 0.7668 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.5409, allocations: 7.672 kB / 0.7668 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5409, allocations: 5.984 kB / 0.7668 GB, free: 7.289 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.262e-05/0.5409, allocations: 112.5 kB / 0.7669 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.5409, allocations: 2.125 kB / 0.7669 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.541, allocations: 10.77 kB / 0.7669 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.541, allocations: 1.344 kB / 0.7669 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.541, allocations: 4 kB / 0.7669 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.541, allocations: 2.391 kB / 0.7669 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5411, allocations: 175.9 kB / 0.7671 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5411, allocations: 0.9688 kB / 0.7671 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.5412, allocations: 9.094 kB / 0.7671 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5412, allocations: 1.5 kB / 0.7671 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.5412, allocations: 0.75 kB / 0.7671 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5412, allocations: 2.219 kB / 0.7671 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5412, allocations: 0.875 kB / 0.7671 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.5414, allocations: 180.8 kB / 0.7673 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.5414, allocations: 82.59 kB / 0.7674 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.5414, allocations: 2.109 kB / 0.7674 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.5415, allocations: 4.188 kB / 0.7674 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.5415, allocations: 7.766 kB / 0.7674 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.5415, allocations: 0.6562 kB / 0.7674 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.5416, allocations: 98.53 kB / 0.7675 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5416, allocations: 4 kB / 0.7675 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000213/0.5418, allocations: 11.06 kB / 0.7675 GB, free: 6.609 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 7.554e-05/0.5418, allocations: 98.25 kB / 0.7676 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.542, allocations: 34.45 kB / 0.7676 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.542, allocations: 3.938 kB / 0.7676 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.5421, allocations: 25.56 kB / 0.7677 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.5423, allocations: 13 kB / 0.7677 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.5426, allocations: 173.3 kB / 0.7678 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.5427, allocations: 0.6834 MB / 0.7685 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.5428, allocations: 2.281 kB / 0.7685 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.5428, allocations: 11.11 kB / 0.7685 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.5428, allocations: 4.969 kB / 0.7685 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of Templates: time 0.002534/0.5453, allocations: 475.6 kB / 0.769 GB, free: 5.574 MB / 0.5762 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.883305002003908] Failed to read output from testmodel.py, exit status != 0: 0.5533172939904034 0.564869983 0.023640567 Calling exit ...