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.001032/0.001032, allocations: 93.06 kB / 19.65 MB, free: 280 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.001661/0.001661, allocations: 165 kB / 23.01 MB, free: 1.555 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.059/1.059, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8581/0.8581, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 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 2.846e-06/2.846e-06, allocations: 3.938 kB / 0.5206 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.705e-05, allocations: 4.781 kB / 0.5206 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003316/0.003353, allocations: 1.571 MB / 0.5221 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.004312, allocations: 480.5 kB / 0.5225 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.00439, allocations: 0 / 0.5225 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.004435, allocations: 7.875 kB / 0.5226 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.004512, allocations: 4.688 kB / 0.5226 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.004849, allocations: 41.28 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004999, allocations: 59.67 kB / 0.5227 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005117, allocations: 11.98 kB / 0.5227 GB, free: 14.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.005308, allocations: 35.89 kB / 0.5227 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.005383, allocations: 21.17 kB / 0.5227 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.005404, allocations: 4 kB / 0.5227 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.707e-05/0.005461, allocations: 11.94 kB / 0.5227 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.005485, allocations: 9.984 kB / 0.5227 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.005518, allocations: 15.94 kB / 0.5228 GB, free: 14.61 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.005668, allocations: 39.83 kB / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.005672, allocations: 0 / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005674, allocations: 0 / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.00568, allocations: 2 kB / 0.5228 GB, free: 14.57 MB / 458.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.0005128/0.006192, allocations: 392.4 kB / 0.5232 GB, free: 14.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.006241, allocations: 12.03 kB / 0.5232 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.006453, allocations: 20.88 kB / 0.5232 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.006646, allocations: 129.1 kB / 0.5233 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.006659, allocations: 5.375 kB / 0.5233 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.006673, allocations: 384 / 0.5233 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006837, allocations: 63.69 kB / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.006849, allocations: 192 / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.006862, allocations: 5.438 kB / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.006872, allocations: 3.938 kB / 0.5234 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.006913, allocations: 4 kB / 0.5234 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.007316, allocations: 268.8 kB / 0.5237 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.007423, allocations: 39 kB / 0.5237 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.007459, allocations: 13.31 kB / 0.5237 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.007482, allocations: 7.969 kB / 0.5237 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.007512, allocations: 37.33 kB / 0.5238 GB, free: 13.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.007514, allocations: 0 / 0.5238 GB, free: 13.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002062/0.00772, allocations: 50.72 kB / 0.5238 GB, free: 13.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.007753, allocations: 51.41 kB / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.007866, allocations: 185.5 kB / 0.524 GB, free: 13.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.007881, allocations: 25.7 kB / 0.5241 GB, free: 13.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.007941, allocations: 144.1 kB / 0.5242 GB, free: 12.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.007964, allocations: 11.83 kB / 0.5242 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.008002, allocations: 23.36 kB / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.008154, allocations: 496.1 kB / 0.5247 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.008176, allocations: 8.781 kB / 0.5247 GB, free: 12.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.008193, allocations: 3.984 kB / 0.5247 GB, free: 12.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.008244, allocations: 24.44 kB / 0.5247 GB, free: 12.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008247, allocations: 0 / 0.5247 GB, free: 12.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001025/0.008349, allocations: 54.33 kB / 0.5248 GB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.008364, allocations: 4 kB / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008369, allocations: 0.8438 kB / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.008386, allocations: 0 / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.008485, allocations: 18.2 kB / 0.5248 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.008491, allocations: 0 / 0.5248 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.008522, allocations: 4 kB / 0.5248 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.00853, allocations: 0 / 0.5248 GB, free: 12.31 MB / 458.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 7.827e-05/0.008608, allocations: 152.6 kB / 0.525 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.008637, allocations: 12.86 kB / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.008671, allocations: 15.98 kB / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008673, allocations: 0 / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008677, allocations: 3.156 kB / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.008679, allocations: 0 / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.008824, allocations: 124.6 kB / 0.5251 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008826, allocations: 0 / 0.5251 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.00888, allocations: 11.98 kB / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008883, allocations: 0 / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.008892, allocations: 3.938 kB / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.008896, allocations: 0 / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008897, allocations: 0 / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.009051, allocations: 202.9 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.00906, allocations: 0 / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.009075, allocations: 3.938 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.00914, allocations: 7.984 kB / 0.5253 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.00918, allocations: 0 / 0.5253 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.00919, allocations: 4 kB / 0.5253 GB, free: 11.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.379e-05/0.009254, allocations: 139.2 kB / 0.5255 GB, free: 11.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009254, allocations: 0 / 0.5255 GB, free: 11.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.009512, allocations: 13.5 kB / 0.5255 GB, free: 11.57 MB / 458.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 0.0001124/0.009625, allocations: 99.23 kB / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.009728, allocations: 16.66 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009729, allocations: 3.938 kB / 0.5256 GB, free: 11.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.009764, allocations: 24.59 kB / 0.5256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01002, allocations: 8 kB / 0.5256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.01077, allocations: 184.3 kB / 0.5258 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.01082, allocations: 58.27 kB / 0.5259 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.01085, allocations: 0 / 0.5259 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.01089, allocations: 16.48 kB / 0.5259 GB, free: 11.11 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01089, allocations: 0 / 0.5259 GB, free: 11.11 MB / 458.7 MB Notification: Performance of Templates: time 0.002872/0.01376, allocations: 468.3 kB / 0.5263 GB, free: 10.68 MB / 458.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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.94198699016124]