Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.712/1.712, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.001174/0.001174, allocations: 183.7 kB / 371.2 MB, free: 10.83 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.554/1.554, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007669/0.0007673, allocations: 89.5 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 12.58 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001866/0.1724, allocations: 1.655 MB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1755, allocations: 3.452 MB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1757, allocations: 4 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1759, allocations: 39.75 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.1762, allocations: 95.41 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1765, allocations: 99.75 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1767, allocations: 223.1 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1768, allocations: 44.38 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.177, allocations: 103.6 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1772, allocations: 103.5 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1772, allocations: 11.94 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.1774, allocations: 99.84 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.1774, allocations: 35.83 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1775, allocations: 61.58 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1777, allocations: 183.5 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1777, allocations: 0 / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1777, allocations: 0 / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.1777, allocations: 0 / 0.9847 GB, free: 21.98 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.0009299/0.1787, allocations: 0.5764 MB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1787, allocations: 8.031 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1788, allocations: 24.66 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.1791, allocations: 275.5 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1792, allocations: 12.38 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1792, allocations: 4.375 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.1797, allocations: 195.9 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1797, allocations: 4 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1797, allocations: 8 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1797, allocations: 0 / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.1803, allocations: 231.8 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.1811, allocations: 0.4886 MB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.1815, allocations: 150.4 kB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.1818, allocations: 128.8 kB / 0.9868 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.1825, allocations: 0.5767 MB / 0.9873 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1826, allocations: 34.5 kB / 0.9874 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1826, allocations: 0 / 0.9874 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001133/0.1837, allocations: 413.2 kB / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1837, allocations: 55.41 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1839, allocations: 234.7 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.184, allocations: 25.7 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.184, allocations: 144.2 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1841, allocations: 35.45 kB / 0.9882 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.1841, allocations: 7.938 kB / 0.9882 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.1842, allocations: 326.8 kB / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.1845, allocations: 119.9 kB / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.1848, allocations: 119.8 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.1854, allocations: 240.7 kB / 0.989 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1854, allocations: 0 / 0.989 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006824/0.1861, allocations: 305.8 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1861, allocations: 6.5 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1862, allocations: 0 / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1862, allocations: 3.984 kB / 0.9893 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1865, allocations: 63.88 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1865, allocations: 7.875 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1867, allocations: 31.97 kB / 0.9894 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.1867, allocations: 11.98 kB / 0.9894 GB, free: 16.85 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.741e-05/0.1868, allocations: 125.8 kB / 0.9895 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1869, allocations: 19.72 kB / 0.9895 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.1877, allocations: 331.1 kB / 0.9899 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1877, allocations: 0 / 0.9899 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1877, allocations: 3.938 kB / 0.9899 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1877, allocations: 3.938 kB / 0.9899 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1879, allocations: 281.3 kB / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1879, allocations: 0 / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1882, allocations: 51.95 kB / 0.9902 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1882, allocations: 0 / 0.9902 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1882, allocations: 11.98 kB / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1882, allocations: 0 / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1882, allocations: 3.938 kB / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.1889, allocations: 395.1 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.189, allocations: 108.9 kB / 0.9907 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.1891, allocations: 0 / 0.9907 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.1893, allocations: 43.89 kB / 0.9907 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.1894, allocations: 27.86 kB / 0.9908 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1894, allocations: 7.984 kB / 0.9908 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001077/0.1895, allocations: 166 kB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1895, allocations: 0 / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000287/0.1898, allocations: 59.84 kB / 0.991 GB, free: 15.14 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.0001778/0.19, allocations: 131.2 kB / 0.9911 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007115/0.1907, allocations: 255.8 kB / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1908, allocations: 0 / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.1911, allocations: 143.9 kB / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.1915, allocations: 28.41 kB / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.1922, allocations: 493.2 kB / 0.992 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.1923, allocations: 0.7316 MB / 0.9927 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.1925, allocations: 40.83 kB / 0.9927 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.1926, allocations: 23.42 kB / 0.9928 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1926, allocations: 0 / 0.9928 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.004337/0.1969, allocations: 2.312 MB / 0.995 GB, free: 10.96 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)