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.0009938/0.0009938, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002253, allocations: 435.8 kB / 10.33 MB, free: 368 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.00234, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9291/0.9291, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08956/1.019, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.751/0.751, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2426/0.9936, allocations: 49.04 MB / 447.6 MB, free: 6.707 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.282e-06/1.282e-06, allocations: 0 / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.954e-05, allocations: 2.312 kB / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002312/0.002332, allocations: 2.117 MB / 451 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.005996, allocations: 4.213 MB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.006091, allocations: 9.094 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.006656, allocations: 188.9 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.165e-05/0.006747, allocations: 65.61 kB / 455.5 MB, free: 14.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.007183, allocations: 283.8 kB / 455.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.007609, allocations: 392.4 kB / 456.1 MB, free: 14.24 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.007702, allocations: 52.12 kB / 456.2 MB, free: 14.19 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.007888, allocations: 186.8 kB / 456.4 MB, free: 14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.007994, allocations: 100.9 kB / 456.5 MB, free: 13.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.008016, allocations: 16 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.008416, allocations: 339.4 kB / 456.8 MB, free: 13.56 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.008497, allocations: 92.38 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.008572, allocations: 72.72 kB / 457 MB, free: 13.4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.008996, allocations: 434.5 kB / 457.4 MB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.009008, allocations: 0 / 457.4 MB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.00901, allocations: 0.875 kB / 457.4 MB, free: 12.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.009023, allocations: 0 / 457.4 MB, free: 12.97 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.0007329/0.009756, allocations: 0.7105 MB / 458.1 MB, free: 12.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.009785, allocations: 8.031 kB / 458.1 MB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.01001, allocations: 147.2 kB / 458.3 MB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.01022, allocations: 246.4 kB / 458.5 MB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.01023, allocations: 4.375 kB / 458.5 MB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.01025, allocations: 12.94 kB / 458.5 MB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.01044, allocations: 128.1 kB / 458.6 MB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.01044, allocations: 192 / 458.6 MB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.01045, allocations: 8.125 kB / 458.7 MB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.01046, allocations: 0 / 458.7 MB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.01053, allocations: 34.38 kB / 458.7 MB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.01092, allocations: 301.2 kB / 459 MB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.936e-05/0.011, allocations: 85.77 kB / 459.1 MB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.01103, allocations: 17.89 kB / 459.1 MB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.01107, allocations: 27.92 kB / 459.1 MB, free: 11.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.01109, allocations: 30.56 kB / 459.1 MB, free: 11.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.01109, allocations: 1.062 kB / 459.1 MB, free: 11.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001857/0.01128, allocations: 97.64 kB / 459.2 MB, free: 11.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.0113, allocations: 61.73 kB / 459.3 MB, free: 10.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.01149, allocations: 343.5 kB / 459.6 MB, free: 10.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.0115, allocations: 25.7 kB / 459.7 MB, free: 10.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.01156, allocations: 136.9 kB / 459.8 MB, free: 10.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.01158, allocations: 39.89 kB / 459.8 MB, free: 10.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.01163, allocations: 41.61 kB / 459.9 MB, free: 10.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.01171, allocations: 352.2 kB / 460.2 MB, free: 10.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.01177, allocations: 68.45 kB / 460.3 MB, free: 9.934 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/0.01182, allocations: 61.62 kB / 460.3 MB, free: 9.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/0.01191, allocations: 112.8 kB / 460.4 MB, free: 9.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01192, allocations: 0 / 460.4 MB, free: 9.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000146/0.01206, allocations: 185 kB / 460.6 MB, free: 9.551 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.0121, allocations: 49.62 kB / 460.7 MB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.0121, allocations: 4 kB / 460.7 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.01211, allocations: 0.75 kB / 460.7 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.01224, allocations: 48.72 kB / 460.7 MB, free: 9.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.01224, allocations: 0 / 460.7 MB, free: 9.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.01232, allocations: 32.98 kB / 460.8 MB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01233, allocations: 7.984 kB / 460.8 MB, free: 9.406 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 6.732e-05/0.0124, allocations: 117.8 kB / 460.9 MB, free: 9.281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.01243, allocations: 19.92 kB / 460.9 MB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.01259, allocations: 128.8 kB / 461 MB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01259, allocations: 0 / 461 MB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.0126, allocations: 0.875 kB / 461 MB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0126, allocations: 0 / 461 MB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01274, allocations: 158.9 kB / 461.2 MB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01275, allocations: 0 / 461.2 MB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.01284, allocations: 43.94 kB / 461.2 MB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.0129, allocations: 52.38 kB / 461.3 MB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.0129, allocations: 0 / 461.3 MB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.01291, allocations: 4.531 kB / 461.3 MB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01291, allocations: 5.438 kB / 461.3 MB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01291, allocations: 0 / 461.3 MB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.01306, allocations: 231.1 kB / 461.5 MB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.01308, allocations: 3.984 kB / 461.5 MB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.01316, allocations: 16.7 kB / 461.5 MB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.01321, allocations: 24.75 kB / 461.6 MB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.01321, allocations: 4 kB / 461.6 MB, free: 8.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.971e-05/0.0133, allocations: 145.7 kB / 461.7 MB, free: 8.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0133, allocations: 0 / 461.7 MB, free: 8.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01357, allocations: 119.8 kB / 461.8 MB, free: 8.312 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.0002191/0.01379, allocations: 169.1 kB / 462 MB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.01398, allocations: 202.8 kB / 462.2 MB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.01399, allocations: 4 kB / 462.2 MB, free: 7.922 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01403, allocations: 33.41 kB / 462.2 MB, free: 7.887 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01429, allocations: 100.3 kB / 462.3 MB, free: 7.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.01792, allocations: 0.5736 MB / 462.9 MB, free: 7.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.755e-05/0.01798, allocations: 99.94 kB / 463 MB, free: 7.074 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.01809, allocations: 40.05 kB / 463 MB, free: 7.043 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01823, allocations: 103.3 kB / 463.1 MB, free: 6.941 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01823, allocations: 0 / 463.1 MB, free: 6.941 MB / 442.7 MB Notification: Performance of Templates: time 0.006586/0.02481, allocations: 5.47 MB / 468.6 MB, free: 1.898 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.4799675280228257]