Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 197 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.16 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1747, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002379/0.1771, allocations: 1.539 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.943e-05/0.1772, allocations: 31.84 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.1773, allocations: 4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.1774, allocations: 11.88 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.938e-05/0.1774, allocations: 7.938 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.753e-05/0.1775, allocations: 15.97 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.1776, allocations: 43.91 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1777, allocations: 39.91 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.1778, allocations: 19.92 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1778, allocations: 35.83 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1779, allocations: 4 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.1779, allocations: 4 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.1779, allocations: 19.92 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.178, allocations: 27.81 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.1781, allocations: 55.75 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1781, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1781, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1781, allocations: 4 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000336/0.1784, allocations: 365.9 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.1785, allocations: 12.03 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.1785, allocations: 8.844 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1786, allocations: 196.2 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.1787, allocations: 384 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1787, allocations: 4.375 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1788, allocations: 108 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1788, allocations: 192 / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1789, allocations: 3.938 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1789, allocations: 4 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.1789, allocations: 43.91 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.1794, allocations: 0.6401 MB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.026e-05/0.1795, allocations: 173.1 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.1795, allocations: 80.14 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1796, allocations: 75.28 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1796, allocations: 109.8 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1796, allocations: 4 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.972e-05/0.1797, allocations: 37.55 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1797, allocations: 130.6 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1799, allocations: 169.3 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.1799, allocations: 25.7 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.18, allocations: 107.9 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.18, allocations: 0 / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.18, allocations: 21.72 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.1801, allocations: 318.8 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.1801, allocations: 4 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.1801, allocations: 26.56 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.1802, allocations: 22.58 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1802, allocations: 3.938 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.826e-05/0.1803, allocations: 57.55 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1803, allocations: 8 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1803, allocations: 0 / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1803, allocations: 7.922 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.1804, allocations: 4 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1804, allocations: 8 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.1804, allocations: 3.938 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1804, allocations: 8.094 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 8.268e-05/0.1805, allocations: 189.1 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.1806, allocations: 116.8 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.1806, allocations: 120.5 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.436e-05/0.1807, allocations: 189.4 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.672e-05/0.1808, allocations: 180.2 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.073e-05/0.1808, allocations: 188.2 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.181, allocations: 421.1 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.1811, allocations: 101 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.1811, allocations: 109 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.196e-05/0.1811, allocations: 180.2 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.1812, allocations: 184.2 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.247e-05/0.1813, allocations: 184.2 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.077e-05/0.1813, allocations: 180.5 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.1814, allocations: 311.7 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.1815, allocations: 194 kB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.1816, allocations: 188.1 kB / 0.7915 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1816, allocations: 101 kB / 0.7916 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.1817, allocations: 180.3 kB / 0.7918 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.1817, allocations: 112.9 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.1818, allocations: 125.7 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 0 / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002063/0.182, allocations: 8 kB / 0.792 GB, free: 4.148 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0001045/0.1821, allocations: 178.5 kB / 0.7922 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.774e-05/0.1822, allocations: 15.88 kB / 0.7922 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1822, allocations: 0 / 0.7922 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.1822, allocations: 0 / 0.7922 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1825, allocations: 463.9 kB / 0.7927 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.1828, allocations: 229.3 kB / 0.7929 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.183, allocations: 0.6885 MB / 0.7935 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.658e-05/0.183, allocations: 7.984 kB / 0.7935 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.1831, allocations: 11.44 kB / 0.7936 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.1831, allocations: 0 / 0.7936 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.001839/0.1849, allocations: 416.6 kB / 0.794 GB, free: 2.102 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)