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.001232/0.001232, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.001335/0.001335, allocations: 191.8 kB / 22.17 MB, free: 5.203 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.417/1.417, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.047/1.047, allocations: 175.8 MB / 481.9 MB, free: 7.68 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.001892/0.001892, allocations: 68.77 kB / 0.6705 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5739, allocations: 94.52 MB / 0.7628 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002957/0.5769, allocations: 1.52 MB / 0.7643 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.5776, allocations: 420 kB / 0.7647 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.5776, allocations: 0 / 0.7647 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.5776, allocations: 7.641 kB / 0.7647 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.5777, allocations: 10.84 kB / 0.7647 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.5779, allocations: 13.45 kB / 0.7647 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.578, allocations: 59.59 kB / 0.7648 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.5781, allocations: 8.062 kB / 0.7648 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.5782, allocations: 31.42 kB / 0.7648 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.5783, allocations: 21.83 kB / 0.7648 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.5783, allocations: 3.812 kB / 0.7648 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.5783, allocations: 3.719 kB / 0.7649 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.5784, allocations: 11.03 kB / 0.7649 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.5784, allocations: 28.77 kB / 0.7649 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.5785, allocations: 43.78 kB / 0.7649 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5785, allocations: 2.406 kB / 0.7649 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5785, allocations: 0 / 0.7649 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5785, allocations: 6.203 kB / 0.7649 GB, free: 9.059 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.0005664/0.5791, allocations: 358.1 kB / 0.7653 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.5791, allocations: 10.38 kB / 0.7653 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.5792, allocations: 8.266 kB / 0.7653 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.5793, allocations: 173.4 kB / 0.7655 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.5794, allocations: 7.156 kB / 0.7655 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.5794, allocations: 5.328 kB / 0.7655 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.5796, allocations: 55.33 kB / 0.7655 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5796, allocations: 2.391 kB / 0.7655 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5796, allocations: 5.656 kB / 0.7655 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5796, allocations: 0 / 0.7655 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.5798, allocations: 36.34 kB / 0.7656 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.5802, allocations: 279.4 kB / 0.7658 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.5804, allocations: 43.7 kB / 0.7659 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.5805, allocations: 22.59 kB / 0.7659 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.5805, allocations: 2.938 kB / 0.7659 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5805, allocations: 36.02 kB / 0.7659 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5805, allocations: 0.5312 kB / 0.7659 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003657/0.5809, allocations: 86.55 kB / 0.766 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.5809, allocations: 53.17 kB / 0.7661 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.581, allocations: 117.2 kB / 0.7662 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.5811, allocations: 27.17 kB / 0.7662 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.5811, allocations: 88.27 kB / 0.7663 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.5811, allocations: 18.53 kB / 0.7663 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.5812, allocations: 13.5 kB / 0.7663 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.5813, allocations: 322.1 kB / 0.7666 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.5813, allocations: 21.84 kB / 0.7667 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.5814, allocations: 13.78 kB / 0.7667 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.5815, allocations: 41.78 kB / 0.7667 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5815, allocations: 0 / 0.7667 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001877/0.5817, allocations: 77 kB / 0.7668 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.5818, allocations: 5.406 kB / 0.7668 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5818, allocations: 4.688 kB / 0.7668 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5818, allocations: 0.6875 kB / 0.7668 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5819, allocations: 14.66 kB / 0.7668 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5819, allocations: 0 / 0.7668 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.582, allocations: 5.656 kB / 0.7668 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.582, allocations: 5.953 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 8.044e-05/0.5821, allocations: 111.9 kB / 0.7669 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.5821, allocations: 3.5 kB / 0.7669 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.5821, allocations: 14.83 kB / 0.7669 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5821, allocations: 2.047 kB / 0.7669 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5821, allocations: 0.875 kB / 0.7669 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5821, allocations: 0 / 0.7669 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.5823, allocations: 177 kB / 0.7671 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5823, allocations: 0 / 0.7671 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.5824, allocations: 11.08 kB / 0.7671 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5824, allocations: 0 / 0.7671 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5824, allocations: 4 kB / 0.7671 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5824, allocations: 2.078 kB / 0.7671 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5824, allocations: 0 / 0.7671 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.5827, allocations: 182.1 kB / 0.7673 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.5827, allocations: 83.56 kB / 0.7674 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.5827, allocations: 0 / 0.7674 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.5828, allocations: 9.438 kB / 0.7674 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.5829, allocations: 3.234 kB / 0.7674 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.5829, allocations: 1.984 kB / 0.7674 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.5829, allocations: 99.81 kB / 0.7675 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.5829, allocations: 0 / 0.7675 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000224/0.5831, allocations: 7.094 kB / 0.7675 GB, free: 6.605 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.000122/0.5833, allocations: 96.7 kB / 0.7676 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.5835, allocations: 44.22 kB / 0.7676 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5835, allocations: 0 / 0.7676 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.5836, allocations: 31.39 kB / 0.7677 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.5838, allocations: 2.688 kB / 0.7677 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.5842, allocations: 174.3 kB / 0.7678 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.5843, allocations: 0.6822 MB / 0.7685 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.5844, allocations: 1 kB / 0.7685 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.5844, allocations: 14.38 kB / 0.7685 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.5844, allocations: 0 / 0.7685 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of Templates: time 0.003144/0.5876, allocations: 477.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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.982407750096172] Failed to read output from testmodel.py, exit status != 0: 0.5956163066439331 0.6101044689999999 0.027692936 Calling exit ...