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.001739/0.001739, allocations: 92.7 kB / 19.44 MB, free: 324 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.002359/0.002359, allocations: 165.3 kB / 22.76 MB, free: 1.652 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 1.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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-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 1.274/1.274, allocations: 154.8 MB / 414.3 MB, free: 460 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 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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.405e-05, allocations: 10.84 kB / 0.5199 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003081/0.003115, allocations: 1.513 MB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.004088, allocations: 465.3 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.004153, allocations: 4 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.004193, allocations: 13.33 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.004262, allocations: 11.86 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.004521, allocations: 31.91 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.00467, allocations: 60.64 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.004772, allocations: 8 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.00494, allocations: 33.28 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.005033, allocations: 31.83 kB / 0.522 GB, free: 172 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.005053, allocations: 4 kB / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.005101, allocations: 5.25 kB / 0.522 GB, free: 164 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.00512, allocations: 11.94 kB / 0.522 GB, free: 152 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.005153, allocations: 11.98 kB / 0.522 GB, free: 140 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.005303, allocations: 55.73 kB / 0.5221 GB, free: 84 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.005309, allocations: 4.812 kB / 0.5221 GB, free: 80 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005309, allocations: 0 / 0.5221 GB, free: 80 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.005314, allocations: 1.281 kB / 0.5221 GB, free: 80 kB / 490.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.0006012/0.005915, allocations: 282.3 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.005963, allocations: 9.375 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.006201, allocations: 28.86 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.006421, allocations: 126.5 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.006435, allocations: 4.375 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.006445, allocations: 2.219 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.006626, allocations: 62.17 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006634, allocations: 192 / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.006645, allocations: 384 / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.006651, allocations: 6 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.006785, allocations: 35.97 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.007193, allocations: 216.6 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.007332, allocations: 47.97 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.007411, allocations: 20.94 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.007432, allocations: 4 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.007469, allocations: 39.47 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.00747, allocations: 0 / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003451/0.007815, allocations: 82.75 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.007875, allocations: 56.17 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.008005, allocations: 123.9 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.008033, allocations: 34.2 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.008103, allocations: 92.08 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.00813, allocations: 12.77 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.008169, allocations: 17.66 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.008358, allocations: 320 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.008431, allocations: 15.98 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.008493, allocations: 20.48 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.008623, allocations: 38.91 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008624, allocations: 0 / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001997/0.008824, allocations: 87.25 kB / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.00884, allocations: 5.406 kB / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.008845, allocations: 0 / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.008864, allocations: 0 / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.008971, allocations: 15.92 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.008977, allocations: 1.594 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.009028, allocations: 4 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.009036, allocations: 0 / 0.5238 GB, free: 14.15 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 0.0001061/0.009142, allocations: 120.3 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.009177, allocations: 11.89 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.009203, allocations: 8 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.009204, allocations: 0 / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.00921, allocations: 4 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.009213, allocations: 0 / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.009372, allocations: 113.3 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009373, allocations: 2.656 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.009445, allocations: 11.98 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009447, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.009458, allocations: 3.938 kB / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009459, allocations: 0 / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00946, allocations: 0 / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.00973, allocations: 176.3 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.009743, allocations: 4 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.00976, allocations: 5.031 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.009844, allocations: 7.984 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.009885, allocations: 2.906 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.009892, allocations: 7.922 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.027e-05/0.009972, allocations: 99.27 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009972, allocations: 0 / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002205/0.01019, allocations: 8 kB / 0.5243 GB, free: 13.53 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.0001321/0.01032, allocations: 95.25 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01051, allocations: 38.72 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01051, allocations: 0 / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.01058, allocations: 23.92 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.01082, allocations: 6.062 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.01125, allocations: 165 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.11e-05/0.01133, allocations: 72.77 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.01137, allocations: 0 / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.0114, allocations: 13.91 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.0114, allocations: 0 / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003085/0.01449, allocations: 483.4 kB / 0.5252 GB, free: 12.62 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=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.997963959001936]