Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.001024/0.001024, allocations: 185.3 kB / 372 MB, free: 10.28 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.585/1.585, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0006825/0.0006826, allocations: 89.17 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006357, allocations: 12.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2093, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001661/0.211, allocations: 1.582 MB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2143, allocations: 3.225 MB / 0.9843 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2145, allocations: 4 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.2147, allocations: 43.75 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.2152, allocations: 123.4 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.031e-05/0.2153, allocations: 15.98 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.2155, allocations: 167.2 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2157, allocations: 21.69 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.2159, allocations: 75.69 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.216, allocations: 75.62 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2161, allocations: 4 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.2161, allocations: 31.97 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.2162, allocations: 27.84 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.2162, allocations: 57.58 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2164, allocations: 111.7 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2164, allocations: 0 / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2164, allocations: 0 / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2164, allocations: 0 / 0.985 GB, free: 22.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007636/0.2172, allocations: 0.4983 MB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2172, allocations: 12.03 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.2173, allocations: 19.77 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.2176, allocations: 233.7 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2176, allocations: 4 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2176, allocations: 15.88 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.218, allocations: 145.6 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.218, allocations: 3.984 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.218, allocations: 0 / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.218, allocations: 12 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.2185, allocations: 161.7 kB / 0.9861 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.2191, allocations: 472.4 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.2195, allocations: 184.2 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.2197, allocations: 112.8 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2198, allocations: 4 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.2198, allocations: 34.56 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2198, allocations: 0 / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007772/0.2206, allocations: 317.4 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.2206, allocations: 51.41 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2208, allocations: 217 kB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2208, allocations: 29.7 kB / 0.9874 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.2208, allocations: 120 kB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.2209, allocations: 47.38 kB / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.2209, allocations: 0 / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.2209, allocations: 330.8 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2212, allocations: 83.92 kB / 0.988 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2214, allocations: 90.31 kB / 0.9881 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.2216, allocations: 87.94 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2216, allocations: 0 / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004815/0.2221, allocations: 237.2 kB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2221, allocations: 4 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2221, allocations: 4 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2221, allocations: 3.953 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.2224, allocations: 39.91 kB / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2224, allocations: 0 / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2226, allocations: 15.98 kB / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2226, allocations: 11.98 kB / 0.9885 GB, free: 18.34 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 (13): * Single equations (assignments): 13 * 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 7.881e-05/0.2227, allocations: 126.9 kB / 0.9886 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.2227, allocations: 23.7 kB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.2228, allocations: 25.84 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2228, allocations: 7.938 kB / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2228, allocations: 0 / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2228, allocations: 7.922 kB / 0.9886 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.223, allocations: 261.5 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.223, allocations: 0 / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.2232, allocations: 43.97 kB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2233, allocations: 0 / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2233, allocations: 11.92 kB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2233, allocations: 0 / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2233, allocations: 3.953 kB / 0.9889 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.2238, allocations: 336.5 kB / 0.9893 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.2239, allocations: 108.8 kB / 0.9894 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2239, allocations: 12 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2241, allocations: 11.98 kB / 0.9894 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.2242, allocations: 7.984 kB / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2242, allocations: 15.94 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.086e-05/0.2243, allocations: 152.5 kB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2243, allocations: 0 / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002452/0.2245, allocations: 36 kB / 0.9896 GB, free: 17.09 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 (13): * Single equations (assignments): 13 * 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.0001336/0.2247, allocations: 111.2 kB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.2252, allocations: 195.8 kB / 0.9899 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2252, allocations: 0 / 0.9899 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.2254, allocations: 97.94 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2258, allocations: 36.34 kB / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.2264, allocations: 0.4896 MB / 0.9905 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2266, allocations: 0.7353 MB / 0.9912 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.2267, allocations: 48.59 kB / 0.9913 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.2268, allocations: 19.42 kB / 0.9913 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2268, allocations: 0 / 0.9913 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.003664/0.2305, allocations: 1.6 MB / 0.9928 GB, free: 13.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)