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.0009424/0.0009424, 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.001034/0.001034, allocations: 177.4 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.9982/0.9982, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8441/0.8441, allocations: 154.9 MB / 415.1 MB, free: 236 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.553e-06/1.553e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.543e-05, allocations: 2.312 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00194/0.001955, allocations: 1.608 MB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006413/0.002597, allocations: 490.8 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.002651, allocations: 4 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.002678, allocations: 4.562 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.002733, allocations: 13.06 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.002918, allocations: 39.88 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.00302, allocations: 58.69 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.003092, allocations: 11.92 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.003204, allocations: 35.95 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.003263, allocations: 21.05 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.003277, allocations: 4 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.003332, allocations: 4 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.003346, allocations: 16.42 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.003363, allocations: 8 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.562e-05/0.003459, allocations: 48.3 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003461, allocations: 1.094 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003461, allocations: 0 / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003465, allocations: 0 / 482.8 MB, free: 4.199 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.0002875/0.003752, allocations: 269.4 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.003782, allocations: 12.66 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.003904, allocations: 17.55 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.004024, allocations: 131.3 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.004031, allocations: 5 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-06/0.004037, allocations: 384 / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.004118, allocations: 55.56 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.004123, allocations: 4.781 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.00413, allocations: 4.375 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004135, allocations: 8.688 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.004153, allocations: 4 kB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.004341, allocations: 163.1 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.004394, allocations: 30.62 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.00441, allocations: 8.859 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.004419, allocations: 0 / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.004438, allocations: 39.31 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.004439, allocations: 0 / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001062/0.004545, allocations: 47.56 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.004572, allocations: 51.41 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.004633, allocations: 131.2 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.004642, allocations: 25.7 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.004671, allocations: 89.39 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.004689, allocations: 7.906 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.004715, allocations: 21.69 kB / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.004789, allocations: 311.5 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.004801, allocations: 7.984 kB / 484.2 MB, free: 2.652 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.004812, allocations: 5.156 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.004838, allocations: 17.94 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004839, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.652e-05/0.004886, allocations: 38.5 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004898, allocations: 11.98 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.004903, allocations: 5.094 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.004912, allocations: 0 / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.004964, allocations: 4 kB / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004968, allocations: 4.594 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.004986, allocations: 3.984 kB / 484.3 MB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.004992, allocations: 1.844 kB / 484.3 MB, free: 2.559 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 4.979e-05/0.005041, allocations: 117.8 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.005055, allocations: 0 / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.005077, allocations: 19.92 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.00508, allocations: 2.125 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005082, allocations: 0 / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005085, allocations: 0 / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.239e-05/0.005177, allocations: 77.88 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005178, allocations: 5.031 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.0052, allocations: 4 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005201, allocations: 0 / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.005206, allocations: 0.9062 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005207, allocations: 0 / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.005208, allocations: 7.938 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.704e-05/0.005285, allocations: 147.8 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.005292, allocations: 3.953 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.005301, allocations: 0.5938 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.355e-05/0.005334, allocations: 5.344 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.005361, allocations: 7.922 kB / 484.7 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.005365, allocations: 4 kB / 484.7 MB, free: 2.129 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.662e-05/0.005381, allocations: 23.59 kB / 484.7 MB, free: 2.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005381, allocations: 4.875 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.005497, allocations: 12 kB / 484.7 MB, free: 2.09 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 5.819e-05/0.005556, allocations: 77.58 kB / 484.8 MB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.284e-05/0.005608, allocations: 21.86 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.005611, allocations: 4 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.005628, allocations: 12.8 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.005732, allocations: 4.531 kB / 484.8 MB, free: 1.961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.00616, allocations: 177 kB / 485 MB, free: 1.766 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.006194, allocations: 61.09 kB / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.961e-05/0.006214, allocations: 0 / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.00625, allocations: 51.38 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006251, allocations: 0.7812 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of Templates: time 0.001695/0.007945, allocations: 459.2 kB / 485.5 MB, free: 1.223 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.619386062026024]