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.0007038/0.0007038, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007077/0.0007077, allocations: 211.2 kB / 23 MB, free: 2.977 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.9096/0.9096, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7594/0.7594, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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.0009466/0.0009466, allocations: 70.66 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5039, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002067/0.5059, allocations: 1.515 MB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006513/0.5066, allocations: 469.3 kB / 0.8209 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.5067, allocations: 3.219 kB / 0.8209 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.5067, allocations: 5.109 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.5067, allocations: 16.95 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.507, allocations: 32.38 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.5071, allocations: 62.05 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.5072, allocations: 6.781 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.5073, allocations: 25.14 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.5074, allocations: 25.19 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.5074, allocations: 8.281 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-05/0.5075, allocations: 9.391 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.5075, allocations: 12.19 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.5075, allocations: 16.28 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.5076, allocations: 59.52 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5076, allocations: 0.5625 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5076, allocations: 0 / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5077, allocations: 0 / 0.8212 GB, free: 15.85 MB / 0.6198 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.0003697/0.508, allocations: 295.6 kB / 0.8215 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5081, allocations: 10.78 kB / 0.8215 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.5082, allocations: 23.89 kB / 0.8215 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.5084, allocations: 133.2 kB / 0.8217 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5084, allocations: 1.5 kB / 0.8217 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5084, allocations: 1.594 kB / 0.8217 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.5086, allocations: 61.09 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5086, allocations: 0 / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.5086, allocations: 3.938 kB / 0.8217 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5086, allocations: 1.406 kB / 0.8217 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.5087, allocations: 37.27 kB / 0.8218 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.509, allocations: 216.6 kB / 0.822 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.5091, allocations: 52.83 kB / 0.822 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.5092, allocations: 22.94 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.5092, allocations: 3.938 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.5092, allocations: 33 kB / 0.8221 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.5092, allocations: 0 / 0.8221 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002436/0.5094, allocations: 82.19 kB / 0.8222 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.5095, allocations: 59.41 kB / 0.8222 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.5096, allocations: 123.7 kB / 0.8223 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.5096, allocations: 26.45 kB / 0.8224 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.5096, allocations: 95.67 kB / 0.8224 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.5096, allocations: 4.75 kB / 0.8224 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.5097, allocations: 18.3 kB / 0.8225 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.5098, allocations: 321.4 kB / 0.8228 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.5098, allocations: 11.06 kB / 0.8228 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.5098, allocations: 21.94 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.545e-05/0.5099, allocations: 44.88 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5099, allocations: 3.938 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001177/0.51, allocations: 73.92 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5101, allocations: 5.594 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5101, allocations: 4 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5101, allocations: 2.188 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.5101, allocations: 7.719 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5102, allocations: 1.672 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.5102, allocations: 10.31 kB / 0.823 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.5102, allocations: 0.6562 kB / 0.823 GB, free: 14.29 MB / 0.6198 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 6.635e-05/0.5103, allocations: 120.6 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.5103, allocations: 9.781 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.5103, allocations: 9.125 kB / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5103, allocations: 0 / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5103, allocations: 0.6094 kB / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5103, allocations: 7.75 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.5104, allocations: 115.2 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5104, allocations: 0 / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.5104, allocations: 12.7 kB / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5104, allocations: 1.188 kB / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.5105, allocations: 3.938 kB / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.5105, allocations: 2.906 kB / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5105, allocations: 0 / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.5106, allocations: 168.4 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.5106, allocations: 8.75 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5106, allocations: 0.8438 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.5107, allocations: 7.312 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.5107, allocations: 7.516 kB / 0.8234 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.5107, allocations: 1.344 kB / 0.8234 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.5108, allocations: 98.27 kB / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5108, allocations: 0 / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000144/0.5109, allocations: 8.25 kB / 0.8235 GB, free: 13.77 MB / 0.6198 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.552e-05/0.511, allocations: 94.17 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.5111, allocations: 44.7 kB / 0.8236 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5111, allocations: 4 kB / 0.8236 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.5112, allocations: 24.86 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.5114, allocations: 9.797 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.5117, allocations: 201.5 kB / 0.8239 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.5118, allocations: 67.67 kB / 0.8239 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.5118, allocations: 10.77 kB / 0.8239 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of SimCode: time 7.32e-07/0.5118, allocations: 4 kB / 0.8239 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.002567/0.5144, allocations: 0.7804 MB / 0.8247 GB, free: 13.34 MB / 0.6198 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.853858087211847] Failed to read output from testmodel.py, exit status != 0: 0.5200236313976347 0.530972263 0.021292790000000002 Calling exit ...