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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007508/0.0007508, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007662/0.0007662, allocations: 203.8 kB / 23 MB, free: 3.125 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8545/0.8545, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7829/0.7829, allocations: 203.8 MB / 0.5049 GB, free: 0.6484 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009293/0.0009293, allocations: 67.88 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5409, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002321/0.5432, allocations: 1.541 MB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000805/0.544, allocations: 0.4923 MB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.5441, allocations: 0.5312 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.5441, allocations: 5.641 kB / 0.8211 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.5442, allocations: 11.95 kB / 0.8211 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.5445, allocations: 36.92 kB / 0.8211 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.5446, allocations: 55.59 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.5447, allocations: 15.11 kB / 0.8212 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.5449, allocations: 34.02 kB / 0.8212 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.545, allocations: 21.11 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.545, allocations: 3.344 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.5451, allocations: 6.734 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.5451, allocations: 15.48 kB / 0.8213 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.5452, allocations: 25.11 kB / 0.8213 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.5453, allocations: 54.27 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5453, allocations: 0.5312 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5453, allocations: 1.062 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5454, allocations: 0.5938 kB / 0.8214 GB, free: 23.71 MB / 0.6355 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.0004596/0.5458, allocations: 292.5 kB / 0.8216 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.5459, allocations: 11.69 kB / 0.8216 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.5461, allocations: 25.33 kB / 0.8217 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.5463, allocations: 127 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.5463, allocations: 3.719 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.5463, allocations: 2.469 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.5465, allocations: 58.66 kB / 0.8219 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5465, allocations: 5.922 kB / 0.8219 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5465, allocations: 3.281 kB / 0.8219 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.5465, allocations: 1.312 kB / 0.8219 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/0.5466, allocations: 34.95 kB / 0.8219 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.547, allocations: 246.2 kB / 0.8221 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.5471, allocations: 44.22 kB / 0.8222 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.5471, allocations: 27.64 kB / 0.8222 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5472, allocations: 3.984 kB / 0.8222 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.5472, allocations: 36.16 kB / 0.8222 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.216e-06/0.5472, allocations: 1.156 kB / 0.8222 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002807/0.5475, allocations: 88.14 kB / 0.8223 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.5475, allocations: 52.06 kB / 0.8224 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.5476, allocations: 121.8 kB / 0.8225 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.5476, allocations: 25.7 kB / 0.8225 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.5477, allocations: 96.69 kB / 0.8226 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.5477, allocations: 10.55 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.5477, allocations: 22.09 kB / 0.8226 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.5478, allocations: 321.8 kB / 0.8229 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.5478, allocations: 14.53 kB / 0.823 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.5479, allocations: 21.47 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.456e-05/0.5479, allocations: 39.72 kB / 0.823 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5479, allocations: 4.625 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001096/0.548, allocations: 73.91 kB / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.5481, allocations: 5.828 kB / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5481, allocations: 1.219 kB / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5481, allocations: 0 / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.5482, allocations: 9.344 kB / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5482, allocations: 0.625 kB / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.5482, allocations: 5.203 kB / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.5482, allocations: 0.9688 kB / 0.8231 GB, free: 22.13 MB / 0.6355 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.99e-05/0.5483, allocations: 127 kB / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.5483, allocations: 6.266 kB / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.5483, allocations: 10.69 kB / 0.8233 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5483, allocations: 2.391 kB / 0.8233 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5483, allocations: 0 / 0.8233 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5483, allocations: 0 / 0.8233 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.5484, allocations: 145.2 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5484, allocations: 0 / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.5485, allocations: 14.69 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5485, allocations: 5.156 kB / 0.8234 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.5485, allocations: 0 / 0.8234 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5485, allocations: 0.5938 kB / 0.8234 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5485, allocations: 0.9531 kB / 0.8234 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.5486, allocations: 172.8 kB / 0.8236 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.5486, allocations: 3.25 kB / 0.8236 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5486, allocations: 5.984 kB / 0.8236 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.5487, allocations: 8.297 kB / 0.8236 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.5487, allocations: 7.25 kB / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.5487, allocations: 6.109 kB / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.5487, allocations: 96.58 kB / 0.8237 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5487, allocations: 0 / 0.8237 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001425/0.5489, allocations: 8.219 kB / 0.8237 GB, free: 21.57 MB / 0.6355 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 8.67e-05/0.549, allocations: 102.2 kB / 0.8238 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.5491, allocations: 40.95 kB / 0.8238 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5491, allocations: 0 / 0.8238 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.5492, allocations: 19.59 kB / 0.8239 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.5493, allocations: 14.56 kB / 0.8239 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.5497, allocations: 195.3 kB / 0.8241 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.327e-05/0.5498, allocations: 0.6893 MB / 0.8247 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.5498, allocations: 10.3 kB / 0.8247 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.5498, allocations: 0 / 0.8247 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.002356/0.5522, allocations: 0.7595 MB / 0.8255 GB, free: 20.52 MB / 0.6355 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.892172707943246] Failed to read output from testmodel.py, exit status != 0: 0.5585237010382116 0.568926996 0.021713321 Calling exit ...