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.001385/0.001385, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001587/0.001587, allocations: 211 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 1.279/1.279, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 178] 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.002105/0.002105, allocations: 71.89 kB / 0.7186 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6666, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003361/0.6699, allocations: 1.524 MB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.6711, allocations: 461.2 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.6712, allocations: 1.156 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/0.6713, allocations: 11.17 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.6714, allocations: 19.27 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.6717, allocations: 28.69 kB / 0.8202 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.6719, allocations: 58.86 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.672, allocations: 9.719 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.6722, allocations: 28.75 kB / 0.8203 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.6723, allocations: 26.2 kB / 0.8204 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.6723, allocations: 3.188 kB / 0.8204 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.6723, allocations: 10.69 kB / 0.8204 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.6724, allocations: 6.781 kB / 0.8204 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.6724, allocations: 19.91 kB / 0.8204 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.6725, allocations: 52.97 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6725, allocations: 1.562 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6725, allocations: 0 / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.6726, allocations: 0 / 0.8205 GB, free: 27.43 MB / 0.6387 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.0005126/0.6731, allocations: 296.5 kB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.6731, allocations: 11.41 kB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.6734, allocations: 25.8 kB / 0.8208 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.6736, allocations: 126.9 kB / 0.8209 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.6736, allocations: 2 kB / 0.8209 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.6736, allocations: 6.719 kB / 0.8209 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.6738, allocations: 57.38 kB / 0.821 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6738, allocations: 1.844 kB / 0.821 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.6738, allocations: 4 kB / 0.821 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6738, allocations: 0.625 kB / 0.821 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.674, allocations: 31.39 kB / 0.821 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.6744, allocations: 221.8 kB / 0.8212 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.6745, allocations: 46.38 kB / 0.8212 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.6746, allocations: 25.2 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.6747, allocations: 0.5938 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6747, allocations: 36.98 kB / 0.8213 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.6747, allocations: 0 / 0.8213 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0004275/0.6751, allocations: 91.98 kB / 0.8214 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.6752, allocations: 57.02 kB / 0.8215 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.6753, allocations: 126.4 kB / 0.8216 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.6753, allocations: 26.39 kB / 0.8216 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.6754, allocations: 97.81 kB / 0.8217 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.6754, allocations: 6.219 kB / 0.8217 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.6754, allocations: 13.52 kB / 0.8217 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.6755, allocations: 322.8 kB / 0.822 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.6756, allocations: 17.14 kB / 0.822 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.6757, allocations: 18.48 kB / 0.8221 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.6759, allocations: 41.25 kB / 0.8221 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6759, allocations: 3.938 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002183/0.6761, allocations: 74.3 kB / 0.8222 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.6761, allocations: 11.62 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6761, allocations: 3.484 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.6761, allocations: 0 / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6763, allocations: 9.906 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.6763, allocations: 1.75 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.6763, allocations: 5.391 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.6764, allocations: 0 / 0.8222 GB, free: 25.89 MB / 0.6387 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.473e-05/0.6764, allocations: 121.9 kB / 0.8223 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.6765, allocations: 7.359 kB / 0.8223 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.6765, allocations: 10.97 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6765, allocations: 0.5 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6765, allocations: 0.5 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.6765, allocations: 1.062 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.6767, allocations: 123.5 kB / 0.8224 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6767, allocations: 0.7031 kB / 0.8224 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.6768, allocations: 9.453 kB / 0.8225 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.6768, allocations: 4.562 kB / 0.8225 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.6768, allocations: 1.375 kB / 0.8225 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6768, allocations: 1.219 kB / 0.8225 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6768, allocations: 0 / 0.8225 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.6771, allocations: 174.4 kB / 0.8226 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.6771, allocations: 2.547 kB / 0.8226 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.6771, allocations: 1.594 kB / 0.8226 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.6772, allocations: 8.641 kB / 0.8226 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.6773, allocations: 3.297 kB / 0.8226 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.6773, allocations: 9.562 kB / 0.8227 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.298e-05/0.6773, allocations: 98.16 kB / 0.8227 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6773, allocations: 3.938 kB / 0.8228 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002348/0.6776, allocations: 7.656 kB / 0.8228 GB, free: 25.38 MB / 0.6387 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.0001584/0.6777, allocations: 95.58 kB / 0.8229 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.678, allocations: 39.86 kB / 0.8229 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.678, allocations: 3.938 kB / 0.8229 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.6781, allocations: 26.06 kB / 0.8229 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.6784, allocations: 9.703 kB / 0.8229 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.6789, allocations: 168.9 kB / 0.8231 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.512e-05/0.679, allocations: 72.47 kB / 0.8232 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.679, allocations: 6.906 kB / 0.8232 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.6791, allocations: 9.859 kB / 0.8232 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6791, allocations: 5.375 kB / 0.8232 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of Templates: time 0.003583/0.6827, allocations: 497.8 kB / 0.8237 GB, free: 24.96 MB / 0.6387 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: 6.938489245250821] Failed to read output from testmodel.py, exit status != 0: 0.6919817086309195 0.705382475 0.029965985 Calling exit ...