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.001428/0.001428, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001434/0.001434, allocations: 173 kB / 23.49 MB, free: 1.059 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.9607/0.9607, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8259/0.8259, allocations: 154.8 MB / 415.1 MB, free: 488 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.764e-06/1.764e-06, allocations: 0 / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.794e-05, allocations: 2.969 kB / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001791/0.001809, allocations: 1.566 MB / 0.5221 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.00242, allocations: 480.3 kB / 0.5226 GB, free: 248 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.002481, allocations: 4 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.002508, allocations: 4.688 kB / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.002559, allocations: 9.344 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.002784, allocations: 39.88 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.002894, allocations: 55.72 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.002987, allocations: 9.281 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.003116, allocations: 43.89 kB / 0.5227 GB, free: 84 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.003172, allocations: 15.92 kB / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.003188, allocations: 4.688 kB / 0.5227 GB, free: 64 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.082e-05/0.003228, allocations: 8 kB / 0.5228 GB, free: 56 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.003241, allocations: 11.2 kB / 0.5228 GB, free: 48 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.003264, allocations: 15.92 kB / 0.5228 GB, free: 32 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003385, allocations: 51.77 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003387, allocations: 0 / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003388, allocations: 0 / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003392, allocations: 0 / 0.5228 GB, free: 15.98 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.0003871/0.003779, allocations: 388.4 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.003816, allocations: 8.031 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.003954, allocations: 25.44 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.004132, allocations: 125.2 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004143, allocations: 1.156 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.004152, allocations: 4.375 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.004264, allocations: 60.41 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004271, allocations: 192 / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.00428, allocations: 384 / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.557e-06/0.004289, allocations: 3.938 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.004324, allocations: 16.88 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.004599, allocations: 273 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/0.004667, allocations: 35.05 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.004692, allocations: 11.69 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.004705, allocations: 5.281 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.004729, allocations: 41.27 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.00473, allocations: 0 / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001592/0.004889, allocations: 49.73 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.004922, allocations: 56.22 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.005007, allocations: 181.2 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005017, allocations: 30.98 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.00506, allocations: 130.9 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.005077, allocations: 11.94 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.005104, allocations: 20.72 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.005207, allocations: 0.4884 MB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.005225, allocations: 3.984 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.005238, allocations: 7.938 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.005272, allocations: 22.75 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005274, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.441e-05/0.005339, allocations: 57.56 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.005351, allocations: 5.562 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005355, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.005369, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.005433, allocations: 11.98 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.005438, allocations: 2.75 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.005459, allocations: 0 / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.005466, allocations: 4 kB / 0.5248 GB, free: 13.74 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 6.208e-05/0.005528, allocations: 164.5 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.005545, allocations: 11.89 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.005569, allocations: 8 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00557, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.005574, allocations: 4.812 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005577, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.00568, allocations: 125.7 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005681, allocations: 0 / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.005705, allocations: 7.984 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005706, allocations: 0.8438 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.005716, allocations: 7.938 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005716, allocations: 0.5 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005717, allocations: 1.531 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.00582, allocations: 191.9 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-06/0.005829, allocations: 11.94 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.005841, allocations: 7.938 kB / 0.5253 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.375e-05/0.005875, allocations: 6.438 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.005911, allocations: 3.938 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005914, allocations: 3.984 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.005963, allocations: 139.2 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.005963, allocations: 0 / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001407/0.006103, allocations: 8 kB / 0.5255 GB, free: 12.99 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.337e-05/0.006177, allocations: 93.97 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.35e-05/0.00626, allocations: 23.67 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006262, allocations: 0 / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.006283, allocations: 19.62 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.00644, allocations: 7.875 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.00698, allocations: 183.9 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.007016, allocations: 60.72 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.007039, allocations: 4 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.007066, allocations: 9.969 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.007067, allocations: 0 / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.001997/0.009064, allocations: 474.9 kB / 0.5263 GB, free: 12.09 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.748854561941698]