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.001014/0.001014, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001155/0.001155, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.791/0.791, allocations: 154.9 MB / 415.9 MB, free: 240 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.793e-06/1.793e-06, allocations: 0.5469 kB / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.121e-05, allocations: 4.141 kB / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003016/0.003047, allocations: 1.566 MB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.003939, allocations: 468.8 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.004018, allocations: 3.938 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.004051, allocations: 4.5 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.004128, allocations: 16.91 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.004391, allocations: 27.91 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.004531, allocations: 60.5 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004638, allocations: 11.98 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.00483, allocations: 44.88 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.004912, allocations: 19.92 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.004933, allocations: 5.031 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.004982, allocations: 7.984 kB / 0.5241 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.004999, allocations: 7.984 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.005026, allocations: 21.45 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.005152, allocations: 39.83 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005156, allocations: 0 / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.005157, allocations: 0 / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.005162, allocations: 1.031 kB / 0.5241 GB, free: 15.25 MB / 0.4948 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.0006904/0.005853, allocations: 392.4 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.005899, allocations: 8.719 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.00612, allocations: 26.16 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.006287, allocations: 124.6 kB / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.006298, allocations: 384 / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.006307, allocations: 1.188 kB / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.006437, allocations: 66.88 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006445, allocations: 0.9688 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.006454, allocations: 384 / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.00646, allocations: 4.656 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.006489, allocations: 7.984 kB / 0.5247 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.006792, allocations: 253.2 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.006871, allocations: 37.23 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.006897, allocations: 15.77 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.006911, allocations: 0 / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.006938, allocations: 37.39 kB / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.006939, allocations: 0 / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001666/0.007106, allocations: 53.58 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.00714, allocations: 52.41 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007244, allocations: 181.9 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.007257, allocations: 28.89 kB / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.007312, allocations: 138.8 kB / 0.5255 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.007336, allocations: 11.95 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.007374, allocations: 23.36 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.007521, allocations: 496.1 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.00754, allocations: 4 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.007556, allocations: 3.984 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.007598, allocations: 19.62 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.007601, allocations: 4 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.861e-05/0.0077, allocations: 44.67 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.007719, allocations: 11.94 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.007725, allocations: 0 / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.007735, allocations: 0 / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.007821, allocations: 11.92 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007824, allocations: 0 / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.007855, allocations: 4 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.007862, allocations: 0 / 0.5261 GB, free: 13.04 MB / 0.4948 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.6e-05/0.007948, allocations: 158.1 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.007978, allocations: 11.95 kB / 0.5263 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.00801, allocations: 11.92 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.008013, allocations: 4.625 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008015, allocations: 0 / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.008018, allocations: 0.9062 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.008174, allocations: 109.2 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.008176, allocations: 0.5625 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.008233, allocations: 8 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.008236, allocations: 0.6562 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.008241, allocations: 0.625 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008243, allocations: 0 / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.008246, allocations: 4.438 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.008398, allocations: 206.7 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.008408, allocations: 384 / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.00842, allocations: 0 / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.008487, allocations: 4 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.008522, allocations: 7.922 kB / 0.5266 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.00853, allocations: 3.984 kB / 0.5266 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.008592, allocations: 141.9 kB / 0.5267 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008593, allocations: 0 / 0.5267 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002604/0.008853, allocations: 18.39 kB / 0.5268 GB, free: 12.32 MB / 0.4948 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.000112/0.008965, allocations: 91.25 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.009054, allocations: 19.67 kB / 0.5269 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009056, allocations: 0 / 0.5269 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.009082, allocations: 15.62 kB / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.009332, allocations: 15.2 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.009998, allocations: 180.1 kB / 0.5271 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01004, allocations: 59.34 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.01008, allocations: 1.406 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.01013, allocations: 70.2 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.01013, allocations: 0 / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.002752/0.01288, allocations: 0.5138 MB / 0.5277 GB, free: 11.32 MB / 0.4948 GB " [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.8294980959035456]