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.001932/0.001932, allocations: 85.48 kB / 19.44 MB, free: 344 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.002099/0.002099, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.4/1.4, allocations: 154.8 MB / 414.3 MB, free: 468 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 178] 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.553e-06/1.553e-06, allocations: 0 / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.121e-05, allocations: 7.5 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002947/0.002978, allocations: 1.531 MB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.003919, allocations: 481.2 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.003974, allocations: 0.625 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.004002, allocations: 3.938 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.00407, allocations: 17.61 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.004311, allocations: 31.95 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.004444, allocations: 63.66 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.00453, allocations: 9.719 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.004689, allocations: 35.89 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.004761, allocations: 19.92 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.004781, allocations: 4 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.004824, allocations: 9.375 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.004843, allocations: 11.92 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.00487, allocations: 8 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.005002, allocations: 51.8 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005005, allocations: 0.5312 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005005, allocations: 4.75 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005009, allocations: 0 / 0.5221 GB, free: 24 kB / 490.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.0005917/0.005601, allocations: 393.5 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.005637, allocations: 8.031 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.005854, allocations: 32.81 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.006055, allocations: 125.9 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.006066, allocations: 384 / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.00608, allocations: 8.375 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.006238, allocations: 53.77 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006246, allocations: 192 / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006256, allocations: 384 / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.006263, allocations: 3.938 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.006372, allocations: 27.98 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.006786, allocations: 275.8 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.007045, allocations: 47.05 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.007115, allocations: 24.33 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.007136, allocations: 0.5625 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.00717, allocations: 37.33 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.007171, allocations: 4.906 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003182/0.00749, allocations: 87.03 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.007535, allocations: 51.41 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.007699, allocations: 193.3 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.007718, allocations: 25.7 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.007815, allocations: 143.7 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.007837, allocations: 7.891 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.007891, allocations: 20.91 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002727/0.008164, allocations: 0.4923 MB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.008223, allocations: 12 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.008272, allocations: 16.17 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.008384, allocations: 42.19 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008386, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000163/0.008549, allocations: 73.5 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.008567, allocations: 6.344 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008572, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.008589, allocations: 2.75 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.008679, allocations: 8 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.008684, allocations: 0 / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.008736, allocations: 11.98 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.008743, allocations: 0 / 0.5242 GB, free: 13.64 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 0.0001224/0.008866, allocations: 156.6 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.008897, allocations: 9.109 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.008931, allocations: 12 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008933, allocations: 0 / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008937, allocations: 0 / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.008942, allocations: 4.922 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.009118, allocations: 128.6 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.009121, allocations: 4.938 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.009185, allocations: 11.94 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.009186, allocations: 0.6562 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.009202, allocations: 11.92 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009203, allocations: 1.125 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009204, allocations: 0 / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.00946, allocations: 211.9 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.009475, allocations: 6.438 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.009493, allocations: 7.875 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.009565, allocations: 4 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.009609, allocations: 3.984 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.009613, allocations: 0 / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.914e-05/0.009713, allocations: 143.2 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009713, allocations: 3.125 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000211/0.009924, allocations: 11.95 kB / 0.5249 GB, free: 12.87 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.0001291/0.01005, allocations: 99.19 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.01023, allocations: 43.66 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01023, allocations: 0 / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.0103, allocations: 27.31 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01054, allocations: 3.984 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.01099, allocations: 173.9 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.679e-05/0.01107, allocations: 63.34 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.01111, allocations: 8.266 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.01115, allocations: 15.73 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01115, allocations: 0 / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.003212/0.01436, allocations: 476.2 kB / 0.5258 GB, free: 11.94 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: 6.266336366999894]