Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001002/0.001002, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001185/0.001185, allocations: 169.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.9885/0.9885, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8637/0.8637, allocations: 154.6 MB / 414.8 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.477e-05, allocations: 6.781 kB / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001879/0.001893, allocations: 1.546 MB / 0.5223 GB, free: 364 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006264/0.00252, allocations: 490.3 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.002577, allocations: 0 / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.002601, allocations: 3.938 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.002651, allocations: 12.55 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.002846, allocations: 35.89 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.002942, allocations: 56.59 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.00302, allocations: 11.97 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.003144, allocations: 45.53 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.003197, allocations: 15.92 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.003212, allocations: 4 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.95e-05/0.003251, allocations: 8 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.003264, allocations: 12.59 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.003283, allocations: 11.94 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.223e-05/0.003375, allocations: 52.81 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.003378, allocations: 4 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003378, allocations: 1.344 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.003381, allocations: 0 / 0.523 GB, free: 15.61 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.0003178/0.003699, allocations: 384.4 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.003734, allocations: 12.81 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.00385, allocations: 26.19 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.00396, allocations: 123.6 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.003967, allocations: 4.375 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.003974, allocations: 6.969 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.219e-05/0.004056, allocations: 54.94 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004063, allocations: 4.188 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004069, allocations: 384 / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.004079, allocations: 7.938 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.004099, allocations: 7.938 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.004317, allocations: 252.8 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.004371, allocations: 36.53 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.004388, allocations: 11.69 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.004403, allocations: 0 / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.004422, allocations: 41.41 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.004423, allocations: 0.9375 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001158/0.004539, allocations: 53.58 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.004565, allocations: 56.34 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.004638, allocations: 173.9 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.004649, allocations: 25.7 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.004696, allocations: 143.5 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.004712, allocations: 4.578 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.00474, allocations: 23.38 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.004859, allocations: 0.4935 MB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.00487, allocations: 0 / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.004881, allocations: 8.125 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.004908, allocations: 20.38 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.00491, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.83e-05/0.004969, allocations: 50.3 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.004981, allocations: 11.88 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.004984, allocations: 0.9375 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.004994, allocations: 0 / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.005057, allocations: 10.62 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.005061, allocations: 3.984 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.00508, allocations: 4 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.005085, allocations: 0 / 0.525 GB, free: 13.4 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.458e-05/0.005149, allocations: 156.5 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.005164, allocations: 7.953 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.005186, allocations: 19.06 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.005187, allocations: 0 / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.005188, allocations: 0 / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.005192, allocations: 3.984 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.151e-05/0.005283, allocations: 101.2 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005284, allocations: 0 / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.005308, allocations: 11.98 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.005309, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.005313, allocations: 4 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005314, allocations: 1.719 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.005318, allocations: 3.938 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.005423, allocations: 187.9 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.005433, allocations: 15.88 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.005443, allocations: 6.25 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.005478, allocations: 8 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.005506, allocations: 3.938 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.00551, allocations: 3.984 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.005551, allocations: 135.2 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005551, allocations: 0 / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001322/0.005683, allocations: 10.75 kB / 0.5256 GB, free: 12.69 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 6.081e-05/0.005744, allocations: 95.25 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.114e-05/0.005805, allocations: 23.67 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.005806, allocations: 0 / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.005823, allocations: 15.62 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.005967, allocations: 11.23 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.006404, allocations: 176.8 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.122e-05/0.006435, allocations: 59.36 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.836e-05/0.006454, allocations: 4.219 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.0065, allocations: 70.2 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.0065, allocations: 0.6562 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.001746/0.008246, allocations: 0.5055 MB / 0.5266 GB, free: 11.7 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6922617750242352]