Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0008934/0.0008934, allocations: 81.17 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.0009594/0.0009594, allocations: 169 kB / 23.27 MB, free: 1.223 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.9442/0.9442, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7308/0.7308, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5208 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.17e-05, allocations: 7.312 kB / 0.5208 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002131/0.002152, allocations: 1.918 MB / 0.5226 GB, free: 4 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.005176, allocations: 3.693 MB / 0.5262 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.00525, allocations: 7.938 kB / 0.5262 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.005818, allocations: 180.2 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.005954, allocations: 89.67 kB / 0.5265 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 7.687e-05/0.00603, allocations: 51.92 kB / 0.5266 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.006391, allocations: 292.8 kB / 0.5268 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.006479, allocations: 24.45 kB / 0.5269 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.006615, allocations: 99.77 kB / 0.5269 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.0067, allocations: 67.81 kB / 0.527 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.006718, allocations: 8 kB / 0.527 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.00678, allocations: 23.92 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.006832, allocations: 63.77 kB / 0.5271 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.006873, allocations: 58.59 kB / 0.5272 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.007032, allocations: 159.3 kB / 0.5273 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007034, allocations: 0 / 0.5273 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.007034, allocations: 0 / 0.5273 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.007038, allocations: 0 / 0.5273 GB, free: 11.21 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000473/0.007511, allocations: 0.5547 MB / 0.5279 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.007543, allocations: 12.03 kB / 0.5279 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.007719, allocations: 57.66 kB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.007878, allocations: 201.6 kB / 0.5281 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.007887, allocations: 8.312 kB / 0.5281 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.007898, allocations: 5.031 kB / 0.5281 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.008054, allocations: 101.9 kB / 0.5282 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.00806, allocations: 192 / 0.5282 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.008072, allocations: 12.06 kB / 0.5282 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.008097, allocations: 14.42 kB / 0.5282 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.008153, allocations: 23.97 kB / 0.5283 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.008496, allocations: 352.1 kB / 0.5286 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.008598, allocations: 93.86 kB / 0.5287 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.008642, allocations: 39.66 kB / 0.5287 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008659, allocations: 7.938 kB / 0.5287 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.008676, allocations: 37.39 kB / 0.5288 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.008676, allocations: 0 / 0.5288 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0001941/0.008871, allocations: 117.8 kB / 0.5289 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.008895, allocations: 59.41 kB / 0.5289 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.009039, allocations: 314.1 kB / 0.5292 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.009054, allocations: 33.64 kB / 0.5293 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.009125, allocations: 190.8 kB / 0.5295 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.009157, allocations: 47.56 kB / 0.5295 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.009201, allocations: 39.36 kB / 0.5295 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.009309, allocations: 0.5118 MB / 0.53 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.00934, allocations: 15.98 kB / 0.5301 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.009368, allocations: 14.36 kB / 0.5301 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.067e-05/0.009438, allocations: 51.66 kB / 0.5301 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00944, allocations: 3.031 kB / 0.5301 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001209/0.009561, allocations: 111.1 kB / 0.5302 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.009571, allocations: 8 kB / 0.5302 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.009575, allocations: 0 / 0.5302 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.009583, allocations: 0 / 0.5302 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.009689, allocations: 31.91 kB / 0.5303 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.009692, allocations: 0 / 0.5303 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.009747, allocations: 27.28 kB / 0.5303 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.009754, allocations: 0 / 0.5303 GB, free: 7.984 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 (13): * Single equations (assignments): 13 * 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.967e-05/0.009824, allocations: 160.6 kB / 0.5304 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.009854, allocations: 27.8 kB / 0.5305 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.009891, allocations: 33.8 kB / 0.5305 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009893, allocations: 0 / 0.5305 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.009895, allocations: 0 / 0.5305 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009897, allocations: 0 / 0.5305 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.01005, allocations: 172.7 kB / 0.5307 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.01005, allocations: 0 / 0.5307 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.01013, allocations: 31.91 kB / 0.5307 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01013, allocations: 0 / 0.5307 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01014, allocations: 11.92 kB / 0.5307 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01014, allocations: 0 / 0.5307 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01014, allocations: 0 / 0.5307 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.01032, allocations: 259.7 kB / 0.531 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.01036, allocations: 27.84 kB / 0.531 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.01038, allocations: 13.14 kB / 0.531 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.01045, allocations: 11.94 kB / 0.531 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.01048, allocations: 11.97 kB / 0.531 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.01049, allocations: 5.625 kB / 0.531 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.21e-05/0.01057, allocations: 210.9 kB / 0.5312 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01057, allocations: 0 / 0.5312 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000171/0.01074, allocations: 39.94 kB / 0.5313 GB, free: 6.938 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 (13): * Single equations (assignments): 13 * 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 9.563e-05/0.01083, allocations: 100.6 kB / 0.5314 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01095, allocations: 70.77 kB / 0.5314 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01096, allocations: 0 / 0.5314 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.011, allocations: 41.02 kB / 0.5315 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01125, allocations: 61.17 kB / 0.5315 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.01187, allocations: 416.4 kB / 0.5319 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.01192, allocations: 91.8 kB / 0.532 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.729e-05/0.01199, allocations: 15.12 kB / 0.532 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.0121, allocations: 118.1 kB / 0.5321 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01211, allocations: 0 / 0.5321 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of Templates: time 0.004008/0.01611, allocations: 2.86 MB / 0.5349 GB, free: 3.324 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.451897593680769]