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.001024/0.001024, allocations: 92.22 kB / 19.65 MB, free: 276 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.001167/0.001167, allocations: 173 kB / 23.02 MB, free: 1.547 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.954/0.954, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8226/0.8226, allocations: 154.9 MB / 414.8 MB, free: 400 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.924e-06/1.924e-06, allocations: 0 / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.481e-05, allocations: 7.344 kB / 0.5207 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002694/0.002719, allocations: 1.557 MB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.00357, allocations: 489.1 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.003635, allocations: 4 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.003672, allocations: 3.938 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.00374, allocations: 8.438 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.00402, allocations: 36.59 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.004157, allocations: 52.36 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.004269, allocations: 13.2 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.004437, allocations: 47.77 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.004508, allocations: 19.92 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.004529, allocations: 4.625 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.886e-05/0.004578, allocations: 8 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.004593, allocations: 9.797 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.004624, allocations: 15.92 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.004749, allocations: 39.84 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004752, allocations: 0 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004753, allocations: 0 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.004757, allocations: 1.625 kB / 0.5229 GB, free: 15.52 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.0004679/0.005225, allocations: 392.4 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.005268, allocations: 8.031 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.005456, allocations: 26.22 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.005636, allocations: 132.5 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.005646, allocations: 384 / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.005658, allocations: 4.938 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.005797, allocations: 59.69 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005806, allocations: 192 / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005816, allocations: 1.844 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.005828, allocations: 7.938 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.00587, allocations: 4 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.006214, allocations: 277 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.0063, allocations: 35.06 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.006331, allocations: 7.781 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.006347, allocations: 11.52 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.006372, allocations: 37.33 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006373, allocations: 0 / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001926/0.006566, allocations: 53.58 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.006599, allocations: 55.41 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.006709, allocations: 184.8 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.006721, allocations: 25.7 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.006872, allocations: 134.9 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.006894, allocations: 7.953 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.006929, allocations: 19.92 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.007067, allocations: 0.4884 MB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.007088, allocations: 0.5625 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.007101, allocations: 8.953 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.00714, allocations: 19.69 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007142, allocations: 0 / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.798e-05/0.00721, allocations: 59.27 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.007221, allocations: 4 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.007226, allocations: 3.984 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.007239, allocations: 3.984 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.007308, allocations: 12.67 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.007313, allocations: 1.719 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.007332, allocations: 0 / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.007339, allocations: 4 kB / 0.5249 GB, free: 13.27 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 5.547e-05/0.007394, allocations: 152.6 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.00741, allocations: 14.14 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.007432, allocations: 11.98 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.007437, allocations: 8 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.007439, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007442, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.37e-05/0.007536, allocations: 124.6 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007537, allocations: 2.75 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.007561, allocations: 7.984 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.007564, allocations: 4 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.007572, allocations: 3.938 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007573, allocations: 0 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007574, allocations: 3.938 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.00768, allocations: 191.9 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.007686, allocations: 4 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.007698, allocations: 5.344 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.007732, allocations: 7.984 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.007766, allocations: 0 / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.007769, allocations: 0.9375 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.007813, allocations: 139.2 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007813, allocations: 0 / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001382/0.007952, allocations: 12.89 kB / 0.5256 GB, free: 12.54 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 7.647e-05/0.008028, allocations: 99.89 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.014e-05/0.008118, allocations: 20.56 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00812, allocations: 4 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.00814, allocations: 15.67 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.008291, allocations: 10.56 kB / 0.5257 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.008802, allocations: 185.1 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.008835, allocations: 55.36 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.008855, allocations: 0 / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.008882, allocations: 16.42 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of SimCode: time 4.8e-07/0.008883, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.001969/0.01085, allocations: 499.5 kB / 0.5265 GB, free: 11.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=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.7162344148382545]