Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.4 MB / 303.7 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.00112, allocations: 181.8 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007858/0.0007858, allocations: 92.75 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 16.5 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002027/0.1917, allocations: 1.671 MB / 0.9818 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1948, allocations: 3.443 MB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.195, allocations: 0 / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1952, allocations: 43.75 kB / 0.9852 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1955, allocations: 99.39 kB / 0.9853 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1958, allocations: 95.77 kB / 0.9854 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1961, allocations: 219.1 kB / 0.9856 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1962, allocations: 48.38 kB / 0.9856 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.1964, allocations: 99.61 kB / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1966, allocations: 103.5 kB / 0.9858 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1966, allocations: 8 kB / 0.9858 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1968, allocations: 103.8 kB / 0.9859 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.1969, allocations: 31.84 kB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.197, allocations: 117.1 kB / 0.986 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1972, allocations: 179.6 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1972, allocations: 0 / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1972, allocations: 4 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1972, allocations: 0 / 0.9862 GB, free: 21.09 MB / 0.6198 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.0009779/0.1982, allocations: 0.5803 MB / 0.9868 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1983, allocations: 16.03 kB / 0.9868 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.1983, allocations: 24.66 kB / 0.9868 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1987, allocations: 267.6 kB / 0.9871 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1987, allocations: 12.31 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1987, allocations: 4.375 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.1991, allocations: 195.9 kB / 0.9873 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1992, allocations: 0 / 0.9873 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1992, allocations: 8 kB / 0.9873 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1992, allocations: 4 kB / 0.9873 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.1998, allocations: 231.8 kB / 0.9875 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.2006, allocations: 0.4885 MB / 0.988 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.2009, allocations: 150.5 kB / 0.9881 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.2013, allocations: 124.8 kB / 0.9883 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.2019, allocations: 0.5806 MB / 0.9888 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.202, allocations: 34.56 kB / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.202, allocations: 0 / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001058/0.203, allocations: 409.4 kB / 0.9892 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.2031, allocations: 59.34 kB / 0.9893 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2032, allocations: 234.7 kB / 0.9895 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2033, allocations: 29.7 kB / 0.9896 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.2033, allocations: 143.9 kB / 0.9897 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.2033, allocations: 39.47 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.2034, allocations: 0 / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.2034, allocations: 334.8 kB / 0.9901 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.2037, allocations: 115.9 kB / 0.9902 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.204, allocations: 115.9 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.2046, allocations: 249.2 kB / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2046, allocations: 0 / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006511/0.2053, allocations: 301.2 kB / 0.9908 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2053, allocations: 4 kB / 0.9908 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2053, allocations: 0 / 0.9908 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2054, allocations: 4 kB / 0.9908 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.2056, allocations: 55.94 kB / 0.9909 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2057, allocations: 3.938 kB / 0.9909 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2059, allocations: 39.97 kB / 0.9909 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.2059, allocations: 7.984 kB / 0.9909 GB, free: 15.96 MB / 0.6198 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.206, allocations: 129.8 kB / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.206, allocations: 23.72 kB / 0.9911 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007405/0.2068, allocations: 335 kB / 0.9914 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2068, allocations: 4 kB / 0.9914 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2068, allocations: 3.938 kB / 0.9914 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2068, allocations: 0 / 0.9914 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.207, allocations: 269.4 kB / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.207, allocations: 4 kB / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.2073, allocations: 63.88 kB / 0.9917 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2073, allocations: 0 / 0.9917 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2073, allocations: 7.984 kB / 0.9917 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2073, allocations: 0 / 0.9917 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2073, allocations: 3.938 kB / 0.9917 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.208, allocations: 395 kB / 0.9921 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.2081, allocations: 108.9 kB / 0.9922 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.2081, allocations: 8 kB / 0.9922 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.2084, allocations: 39.91 kB / 0.9922 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.2085, allocations: 19.91 kB / 0.9923 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2085, allocations: 7.984 kB / 0.9923 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.5e-05/0.2086, allocations: 166 kB / 0.9924 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.72e-07/0.2086, allocations: 0 / 0.9924 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000281/0.2089, allocations: 71.78 kB / 0.9925 GB, free: 14.23 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/0.2091, allocations: 123.2 kB / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00068/0.2098, allocations: 259.8 kB / 0.9929 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2098, allocations: 0 / 0.9929 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.2101, allocations: 143.8 kB / 0.993 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2105, allocations: 28.41 kB / 0.993 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.2111, allocations: 489.3 kB / 0.9935 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2113, allocations: 0.7395 MB / 0.9942 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.2114, allocations: 40.83 kB / 0.9943 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.2115, allocations: 15.42 kB / 0.9943 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2115, allocations: 0 / 0.9943 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.00404/0.2156, allocations: 2.338 MB / 0.9965 GB, free: 10.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)