Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001418/0.001418, 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.001696/0.001696, allocations: 173 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.9478/0.9478, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7381/0.7381, allocations: 154.9 MB / 414.8 MB, free: 420 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.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.144e-05, allocations: 6.25 kB / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002264/0.002286, allocations: 2.09 MB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003971/0.006257, allocations: 4.179 MB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.006374, allocations: 8.562 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007767/0.00715, allocations: 191.4 kB / 0.527 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.007267, allocations: 71.3 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.007874, allocations: 310.1 kB / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.008378, allocations: 393.9 kB / 0.5277 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.008482, allocations: 36.56 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.008642, allocations: 159.5 kB / 0.5279 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.008759, allocations: 97.11 kB / 0.528 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.008787, allocations: 16 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.009175, allocations: 311.4 kB / 0.5283 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.009267, allocations: 114.4 kB / 0.5284 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.009348, allocations: 91.7 kB / 0.5285 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.009907, allocations: 0.4944 MB / 0.529 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009911, allocations: 0 / 0.529 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.009913, allocations: 3.938 kB / 0.529 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.00992, allocations: 0 / 0.529 GB, free: 9.301 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008524/0.01077, allocations: 0.7712 MB / 0.5298 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01081, allocations: 8.031 kB / 0.5298 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.01132, allocations: 142.8 kB / 0.5299 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.0116, allocations: 258.3 kB / 0.5302 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.01162, allocations: 4.375 kB / 0.5302 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.01164, allocations: 8.375 kB / 0.5302 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.0119, allocations: 146.8 kB / 0.5303 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.01191, allocations: 192 / 0.5303 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.01193, allocations: 8.125 kB / 0.5303 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01194, allocations: 4 kB / 0.5303 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.01205, allocations: 44.25 kB / 0.5304 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.01287, allocations: 0.5032 MB / 0.5309 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.01325, allocations: 54.98 kB / 0.5309 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.01334, allocations: 38.33 kB / 0.5309 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.946e-05/0.0134, allocations: 23.92 kB / 0.531 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.01342, allocations: 37.39 kB / 0.531 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.01342, allocations: 0 / 0.531 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0004414/0.01387, allocations: 153.6 kB / 0.5311 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.0139, allocations: 57.84 kB / 0.5312 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.01426, allocations: 438.6 kB / 0.5316 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.01428, allocations: 29.92 kB / 0.5316 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01442, allocations: 234.8 kB / 0.5319 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.01446, allocations: 47.56 kB / 0.5319 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.01454, allocations: 47.36 kB / 0.532 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.01471, allocations: 0.5274 MB / 0.5325 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01482, allocations: 74.8 kB / 0.5325 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.01492, allocations: 70.19 kB / 0.5326 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01511, allocations: 125.8 kB / 0.5327 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01511, allocations: 0 / 0.5327 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003407/0.01545, allocations: 247.8 kB / 0.533 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.01549, allocations: 41.69 kB / 0.533 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.0155, allocations: 0 / 0.533 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01551, allocations: 0.5 kB / 0.533 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.01573, allocations: 40.77 kB / 0.5331 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01574, allocations: 0 / 0.5331 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.01588, allocations: 28.41 kB / 0.5331 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.0159, allocations: 12.67 kB / 0.5331 GB, free: 4.902 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001134/0.01601, allocations: 161.8 kB / 0.5332 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.01607, allocations: 39.77 kB / 0.5333 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.01643, allocations: 166.2 kB / 0.5334 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01643, allocations: 3.938 kB / 0.5334 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01643, allocations: 0.6562 kB / 0.5334 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01644, allocations: 4.75 kB / 0.5334 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.01673, allocations: 264.3 kB / 0.5337 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01673, allocations: 1.406 kB / 0.5337 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.01689, allocations: 31.97 kB / 0.5337 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.0169, allocations: 0 / 0.5337 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.01692, allocations: 8.609 kB / 0.5337 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01692, allocations: 0 / 0.5337 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01692, allocations: 1.938 kB / 0.5337 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.01724, allocations: 297.3 kB / 0.534 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.01733, allocations: 55.69 kB / 0.5341 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.01736, allocations: 0 / 0.5341 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.01752, allocations: 17.14 kB / 0.5341 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.01759, allocations: 15.97 kB / 0.5341 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.0176, allocations: 8 kB / 0.5341 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002093/0.01781, allocations: 288.8 kB / 0.5344 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01781, allocations: 0 / 0.5344 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004343/0.01824, allocations: 111.8 kB / 0.5345 GB, free: 3.402 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 (11): * Single equations (assignments): 11 * 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.000319/0.01856, allocations: 184.7 kB / 0.5347 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.01891, allocations: 216.6 kB / 0.5349 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01891, allocations: 0 / 0.5349 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.01901, allocations: 48.97 kB / 0.5349 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.01944, allocations: 81.23 kB / 0.535 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.02055, allocations: 0.5554 MB / 0.5356 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.82e-05/0.02062, allocations: 110.4 kB / 0.5357 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.02081, allocations: 47.33 kB / 0.5357 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.0209, allocations: 32.48 kB / 0.5357 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.02091, allocations: 0 / 0.5357 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of Templates: time 0.00957/0.03048, allocations: 5.675 MB / 0.5413 GB, free: 12.61 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7721434039995074]