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.0009531/0.0009531, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009264/0.0009264, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9496/0.9496, allocations: 177.2 MB / 203.7 MB, free: 5.488 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.849/0.849, allocations: 154.9 MB / 415.1 MB, free: 236 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 2.074e-06/2.074e-06, allocations: 0 / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.254e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003267/0.0033, allocations: 1.556 MB / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.000901/0.004201, allocations: 489.1 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004307, allocations: 0 / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.004348, allocations: 3.938 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.004418, allocations: 8.625 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004676, allocations: 41.12 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.004799, allocations: 55.73 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.004895, allocations: 3.984 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.005067, allocations: 48.58 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.005133, allocations: 15.92 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.005151, allocations: 4.625 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.005199, allocations: 12.84 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.005213, allocations: 3.984 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.005238, allocations: 16.88 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.005371, allocations: 47.81 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005373, allocations: 3.938 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.005374, allocations: 2.656 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.005379, allocations: 0 / 0.5234 GB, free: 15.23 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.0004712/0.00585, allocations: 384.4 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.005902, allocations: 16.03 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.006072, allocations: 20.88 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.006225, allocations: 126 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.006242, allocations: 4.375 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.006251, allocations: 4.375 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.006356, allocations: 55.5 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.006363, allocations: 192 / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.00637, allocations: 1.406 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006376, allocations: 7.938 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.006398, allocations: 11.94 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.006624, allocations: 249.5 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.006678, allocations: 35.12 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.006695, allocations: 12.25 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.006706, allocations: 1 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.006727, allocations: 37.33 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.006728, allocations: 0 / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001597/0.006887, allocations: 59.34 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.006916, allocations: 55.41 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.007033, allocations: 173.9 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.007047, allocations: 25.7 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.007103, allocations: 140.1 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.007121, allocations: 7.938 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.007154, allocations: 23.38 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.007297, allocations: 0.493 MB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.007316, allocations: 0 / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.00733, allocations: 5.188 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.00737, allocations: 23.61 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007371, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.337e-05/0.007445, allocations: 51.08 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007459, allocations: 10.28 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007464, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.007478, allocations: 7.938 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.007555, allocations: 4.875 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007558, allocations: 0 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.007584, allocations: 10.73 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.00759, allocations: 0 / 0.5253 GB, free: 13.02 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 7.014e-05/0.00766, allocations: 156.5 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.007677, allocations: 8.281 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.007702, allocations: 15.94 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.007705, allocations: 0 / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.007708, allocations: 3.984 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.007711, allocations: 2.781 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.563e-05/0.007806, allocations: 109.2 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007807, allocations: 0 / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.007834, allocations: 7.984 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007835, allocations: 0 / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.00784, allocations: 4 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00784, allocations: 0 / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.007843, allocations: 3.938 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.007975, allocations: 189.2 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.007984, allocations: 7.984 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.007996, allocations: 4 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.008031, allocations: 4.5 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.008079, allocations: 8.5 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.008085, allocations: 3.984 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.008145, allocations: 141.2 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008145, allocations: 0 / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001457/0.00829, allocations: 11.95 kB / 0.526 GB, free: 12.31 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.0001216/0.008412, allocations: 95.25 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.008516, allocations: 23.67 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.008518, allocations: 0 / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.008539, allocations: 11.69 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.008711, allocations: 16.06 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.009362, allocations: 166.9 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.505e-05/0.009407, allocations: 55.36 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.009442, allocations: 5.141 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.009513, allocations: 74.2 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/0.009515, allocations: 4.812 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.002375/0.01189, allocations: 0.5092 MB / 0.5269 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.7464493717998266]