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.0009927/0.0009927, 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.001099/0.001099, allocations: 169 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.9992/0.9992, 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 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.7957/0.7957, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.944e-06/1.944e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.125e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.005689/0.00572, allocations: 1.549 MB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.006594, allocations: 486.7 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.00667, allocations: 1.812 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.006708, allocations: 7.938 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.006775, allocations: 15.8 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.01007, allocations: 31.95 kB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.01021, allocations: 53.36 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.01033, allocations: 19.95 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.0105, allocations: 43.78 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.01058, allocations: 15.98 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.01062, allocations: 5.422 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.01067, allocations: 4 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.01069, allocations: 19.86 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.01071, allocations: 8.531 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.01086, allocations: 43.81 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.01087, allocations: 0.75 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/0.01087, allocations: 4 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.01087, allocations: 1.469 kB / 0.5226 GB, free: 15.92 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.0004383/0.01131, allocations: 388.4 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.01135, allocations: 8.031 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.01152, allocations: 26.22 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.01168, allocations: 124.5 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.01169, allocations: 7.906 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.01171, allocations: 4.375 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.01184, allocations: 58.94 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01185, allocations: 192 / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.01186, allocations: 4.375 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01187, allocations: 7.875 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.382e-05/0.0119, allocations: 4 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.01223, allocations: 279.7 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.0123, allocations: 35.61 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.01233, allocations: 12.25 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.01235, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01237, allocations: 42.3 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.01238, allocations: 0 / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001783/0.01255, allocations: 55.14 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.01258, allocations: 51.41 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.01268, allocations: 181.9 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.01269, allocations: 25.7 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.01275, allocations: 136.5 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00303/0.01578, allocations: 11.94 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.01582, allocations: 19.38 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01595, allocations: 0.4884 MB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.01597, allocations: 3.984 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.01599, allocations: 6.312 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.01604, allocations: 15.97 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01604, allocations: 0 / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.743e-05/0.01614, allocations: 57.5 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01616, allocations: 8 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01616, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01618, allocations: 2.75 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.01626, allocations: 7.984 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.01627, allocations: 4 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.0163, allocations: 4 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01631, allocations: 0 / 0.5246 GB, free: 13.68 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.343e-05/0.01638, allocations: 156.6 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.01641, allocations: 17.22 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.01644, allocations: 8 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01644, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01644, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01645, allocations: 0.9375 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.01658, allocations: 128.6 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01658, allocations: 0 / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.01662, allocations: 12.86 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01662, allocations: 0 / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01663, allocations: 8.594 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01663, allocations: 4 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01663, allocations: 4.938 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.01678, allocations: 191.9 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.01679, allocations: 14.5 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.01681, allocations: 7.938 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.01686, allocations: 4 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.0169, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01691, allocations: 3.984 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.01696, allocations: 142.4 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01696, allocations: 0 / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002225/0.01718, allocations: 7.125 kB / 0.5252 GB, free: 12.93 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.0001047/0.01729, allocations: 96.94 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.01739, allocations: 27.61 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01739, allocations: 0 / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.01742, allocations: 15.69 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01765, allocations: 8.453 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.01829, allocations: 177.4 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.31e-05/0.01834, allocations: 55.36 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.01837, allocations: 7.984 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.0184, allocations: 11.88 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.0184, allocations: 0 / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.00547/0.02387, allocations: 480.6 kB / 0.5261 GB, free: 12.03 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.9876615810208023]