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.0009956/0.0009956, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001072/0.001072, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9325/0.9325, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.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-535:34: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-535:42: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.786/0.786, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.234e-05, allocations: 2.312 kB / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.005117/0.005129, allocations: 1.556 MB / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.005825, allocations: 492 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.005873, allocations: 4 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.005898, allocations: 7.922 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.005957, allocations: 16.03 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.006133, allocations: 31.91 kB / 482.5 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.006235, allocations: 61.45 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.515e-05/0.0063, allocations: 11.92 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.006409, allocations: 31.92 kB / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.006462, allocations: 24.86 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.006475, allocations: 4 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.347e-05/0.006509, allocations: 5 kB / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.006525, allocations: 15.88 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.006544, allocations: 15.92 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.601e-05/0.00663, allocations: 40.77 kB / 482.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.006632, allocations: 0 / 482.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006632, allocations: 0 / 482.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.525e-06/0.006635, allocations: 0.5625 kB / 482.7 MB, free: 4.301 MB / 442.7 MB 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.0002591/0.006894, allocations: 268.4 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.006921, allocations: 12.84 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.00704, allocations: 18.14 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.007149, allocations: 129.7 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.007156, allocations: 384 / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.007165, allocations: 7.047 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.01026, allocations: 58.94 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.01026, allocations: 9.031 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.01027, allocations: 384 / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.01028, allocations: 4.938 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/0.01029, allocations: 4 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.01046, allocations: 164.9 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.216e-05/0.01051, allocations: 27.88 kB / 483.4 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.01053, allocations: 16.8 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.01053, allocations: 0 / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.01055, allocations: 34.56 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 5.31e-07/0.01055, allocations: 0.5 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.429e-05/0.01065, allocations: 51.09 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.01067, allocations: 55.41 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.01074, allocations: 128.8 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.01075, allocations: 26.77 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.01078, allocations: 88.12 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.0108, allocations: 7.906 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.01083, allocations: 22.42 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.01091, allocations: 314.8 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.01092, allocations: 8.844 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.01093, allocations: 3.984 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.01096, allocations: 12.86 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01096, allocations: 0.5938 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.002e-05/0.01101, allocations: 39.12 kB / 484.2 MB, free: 2.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.01102, allocations: 8 kB / 484.2 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01102, allocations: 7.922 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.01103, allocations: 0 / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.01108, allocations: 4.781 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.01108, allocations: 3.938 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.0111, allocations: 5.438 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.01111, allocations: 3.984 kB / 484.2 MB, free: 2.652 MB / 442.7 MB 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 5.174e-05/0.01116, allocations: 109.8 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.01118, allocations: 0.6562 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.0112, allocations: 15.94 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.0112, allocations: 0.9062 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.0112, allocations: 3.938 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-06/0.0112, allocations: 1.188 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.0113, allocations: 73.88 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.01131, allocations: 0 / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.01133, allocations: 12.61 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.01133, allocations: 0 / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.01134, allocations: 4.594 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01134, allocations: 0.6562 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01134, allocations: 3.938 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.663e-05/0.01142, allocations: 140 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.01142, allocations: 8.547 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.01143, allocations: 0 / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.01148, allocations: 5.438 kB / 484.6 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.01151, allocations: 7.922 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.01151, allocations: 0 / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.01153, allocations: 28.83 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 0.8438 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.01172, allocations: 8 kB / 484.6 MB, free: 2.191 MB / 442.7 MB 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.0003071/0.01202, allocations: 77.95 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.989e-05/0.01208, allocations: 16.84 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01209, allocations: 0 / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.0121, allocations: 17.52 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.01224, allocations: 8.531 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.01269, allocations: 176.3 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.01272, allocations: 59.34 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.065e-05/0.01274, allocations: 6.281 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.01279, allocations: 51.38 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.01279, allocations: 0 / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of Templates: time 0.004917/0.0177, allocations: 457.1 kB / 485.5 MB, free: 1.324 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.479008325841278]