Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006946/0.0006946, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009542/0.001649, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007091/0.0007091, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009572/0.001666, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9397/0.9397, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08795/1.028, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.7244/0.7244, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2802/1.005, allocations: 49.05 MB / 447.8 MB, free: 6.613 MB / 426.7 MB " [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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 1.094 kB / 449.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.344e-05, allocations: 4.844 kB / 449.2 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003421/0.003444, allocations: 2.131 MB / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005817/0.009261, allocations: 4.211 MB / 455.5 MB, free: 15.01 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.009435, allocations: 1.219 kB / 455.5 MB, free: 15.01 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.01033, allocations: 185.4 kB / 455.7 MB, free: 14.83 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.01053, allocations: 73.36 kB / 455.7 MB, free: 14.76 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.01127, allocations: 285.9 kB / 456 MB, free: 14.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.01175, allocations: 388.1 kB / 456.4 MB, free: 14.1 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.01185, allocations: 38.47 kB / 456.4 MB, free: 14.06 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.01206, allocations: 199.5 kB / 456.6 MB, free: 13.87 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.01218, allocations: 104.8 kB / 456.7 MB, free: 13.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.0122, allocations: 19.94 kB / 456.8 MB, free: 13.75 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.01263, allocations: 332.7 kB / 457.1 MB, free: 13.42 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.01274, allocations: 91.72 kB / 457.2 MB, free: 13.33 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.01281, allocations: 76.38 kB / 457.2 MB, free: 13.26 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.01326, allocations: 430.5 kB / 457.7 MB, free: 12.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.01327, allocations: 0.625 kB / 457.7 MB, free: 12.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01327, allocations: 0.625 kB / 457.7 MB, free: 12.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.01329, allocations: 0 / 457.7 MB, free: 12.84 MB / 442.7 MB 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.0008204/0.01411, allocations: 0.7141 MB / 458.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.01413, allocations: 9.625 kB / 458.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.0144, allocations: 146 kB / 458.5 MB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.01464, allocations: 240.9 kB / 458.8 MB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.01465, allocations: 4.969 kB / 458.8 MB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.01466, allocations: 9.125 kB / 458.8 MB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.01487, allocations: 135.4 kB / 458.9 MB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.01488, allocations: 192 / 458.9 MB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.01489, allocations: 13.28 kB / 458.9 MB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.0149, allocations: 0 / 458.9 MB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/0.01496, allocations: 29.09 kB / 459 MB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.01538, allocations: 299.8 kB / 459.3 MB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.01547, allocations: 85.98 kB / 459.3 MB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.0155, allocations: 20.84 kB / 459.4 MB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.01554, allocations: 17.38 kB / 459.4 MB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01556, allocations: 38.55 kB / 459.4 MB, free: 11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.01556, allocations: 0 / 459.4 MB, free: 11 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001919/0.01575, allocations: 108.3 kB / 459.5 MB, free: 10.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.01578, allocations: 55.41 kB / 459.6 MB, free: 10.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.01597, allocations: 344.2 kB / 459.9 MB, free: 10.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.01599, allocations: 29.7 kB / 459.9 MB, free: 10.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.01604, allocations: 133.6 kB / 460.1 MB, free: 10.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.01607, allocations: 35.69 kB / 460.1 MB, free: 10.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.01612, allocations: 38.64 kB / 460.1 MB, free: 10.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.0162, allocations: 350.7 kB / 460.5 MB, free: 9.875 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.01627, allocations: 65.05 kB / 460.5 MB, free: 9.805 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.01632, allocations: 62.38 kB / 460.6 MB, free: 9.738 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.01642, allocations: 118.9 kB / 460.7 MB, free: 9.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01642, allocations: 4.438 kB / 460.7 MB, free: 9.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001607/0.01658, allocations: 191 kB / 460.9 MB, free: 9.406 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.01662, allocations: 49.62 kB / 461 MB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.01663, allocations: 0.9375 kB / 461 MB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.01664, allocations: 0 / 461 MB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.01678, allocations: 41.17 kB / 461 MB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.01678, allocations: 0 / 461 MB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.01686, allocations: 35.81 kB / 461 MB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.01687, allocations: 4.531 kB / 461 MB, free: 9.273 MB / 442.7 MB 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 7.345e-05/0.01695, allocations: 117.6 kB / 461.2 MB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.01698, allocations: 27.91 kB / 461.2 MB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.01716, allocations: 123 kB / 461.3 MB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01716, allocations: 0 / 461.3 MB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01717, allocations: 0 / 461.3 MB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01717, allocations: 0.75 kB / 461.3 MB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01732, allocations: 153.8 kB / 461.5 MB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01732, allocations: 2.344 kB / 461.5 MB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01744, allocations: 47.88 kB / 461.5 MB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.01749, allocations: 47.64 kB / 461.6 MB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01749, allocations: 3.938 kB / 461.6 MB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.0175, allocations: 7.922 kB / 461.6 MB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01751, allocations: 0 / 461.6 MB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01751, allocations: 1.688 kB / 461.6 MB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.01767, allocations: 234.2 kB / 461.8 MB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.01769, allocations: 0 / 461.8 MB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.01777, allocations: 17.58 kB / 461.8 MB, free: 8.461 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.01782, allocations: 19.97 kB / 461.8 MB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.01783, allocations: 0 / 461.8 MB, free: 8.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.01793, allocations: 148.7 kB / 462 MB, free: 8.297 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01793, allocations: 0 / 462 MB, free: 8.297 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.01822, allocations: 117.2 kB / 462.1 MB, free: 8.184 MB / 442.7 MB 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.0002409/0.01847, allocations: 180 kB / 462.3 MB, free: 8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.01867, allocations: 195.9 kB / 462.5 MB, free: 7.793 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.01868, allocations: 4.875 kB / 462.5 MB, free: 7.789 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.01875, allocations: 48.75 kB / 462.5 MB, free: 7.738 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.01917, allocations: 0.6438 MB / 463.2 MB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.02286, allocations: 0.5732 MB / 463.7 MB, free: 6.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.336e-05/0.02292, allocations: 99.94 kB / 463.8 MB, free: 6.254 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.02304, allocations: 32.95 kB / 463.9 MB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.0232, allocations: 103.3 kB / 464 MB, free: 6.129 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/0.0232, allocations: 0 / 464 MB, free: 6.129 MB / 442.7 MB Notification: Performance of Templates: time 0.007944/0.03114, allocations: 5.521 MB / 469.5 MB, free: 1.039 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5846292674541473]