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.001218/0.001218, allocations: 108 kB / 15.61 MB, free: 152 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.001228/0.001228, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.203/1.203, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.538/1.538, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001253/0.001253, allocations: 69.58 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1754, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002374/0.1778, allocations: 1.53 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.9e-05/0.1779, allocations: 35.8 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.178, allocations: 4 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.392e-05/0.1781, allocations: 7.922 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.1781, allocations: 7.875 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.796e-05/0.1782, allocations: 19.97 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.1783, allocations: 43.91 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1784, allocations: 31.98 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.947e-05/0.1784, allocations: 19.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.1785, allocations: 31.84 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1785, allocations: 4 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.1785, allocations: 8 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.1786, allocations: 15.92 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.1786, allocations: 23.88 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.142e-05/0.1787, allocations: 71.95 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1787, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1787, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.1787, allocations: 0 / 0.7852 GB, free: 11.62 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.0003186/0.1791, allocations: 363.2 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.1791, allocations: 8.031 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1791, allocations: 8.844 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1793, allocations: 188.2 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1793, allocations: 4.375 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1793, allocations: 12.38 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1794, allocations: 100.8 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1795, allocations: 192 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1795, allocations: 7.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1795, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.1796, allocations: 47.91 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.18, allocations: 0.6362 MB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.505e-05/0.1801, allocations: 173.1 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.1801, allocations: 84.14 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1802, allocations: 75.28 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1802, allocations: 105.8 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1802, allocations: 0 / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.773e-05/0.1803, allocations: 45.53 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1803, allocations: 130.6 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1805, allocations: 169.5 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1805, allocations: 25.7 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.1805, allocations: 107.9 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.1806, allocations: 4 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.1806, allocations: 9.719 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.1807, allocations: 322.8 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.1807, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.1807, allocations: 26.58 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.1808, allocations: 30.45 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1808, allocations: 0 / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.1809, allocations: 57.53 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.1809, allocations: 4 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1809, allocations: 4.094 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1809, allocations: 7.938 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.181, allocations: 4 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.181, allocations: 4 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.181, allocations: 7.938 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.181, allocations: 0 / 0.7878 GB, free: 8.621 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 7.934e-05/0.1811, allocations: 197.8 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.1812, allocations: 116.8 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1812, allocations: 124.8 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.1813, allocations: 181.4 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-05/0.1813, allocations: 180.2 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/0.1814, allocations: 176.3 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1816, allocations: 429.1 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/0.1816, allocations: 101 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.1817, allocations: 109 kB / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.484e-05/0.1817, allocations: 184.2 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.1818, allocations: 180.2 kB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.711e-05/0.1818, allocations: 184.2 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-05/0.1819, allocations: 176.5 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.182, allocations: 319.7 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1821, allocations: 186 kB / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.1821, allocations: 188.1 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.1822, allocations: 105 kB / 0.7908 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.1823, allocations: 180.3 kB / 0.791 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.1823, allocations: 116.9 kB / 0.7911 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.1824, allocations: 125.5 kB / 0.7912 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1824, allocations: 0 / 0.7912 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002098/0.1826, allocations: 8 kB / 0.7912 GB, free: 4.906 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 9.96e-05/0.1827, allocations: 170.5 kB / 0.7914 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.954e-05/0.1828, allocations: 11.94 kB / 0.7914 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1828, allocations: 4.188 kB / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.1828, allocations: 0 / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1831, allocations: 463.6 kB / 0.7919 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.1834, allocations: 233.3 kB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1836, allocations: 0.6963 MB / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.556e-05/0.1836, allocations: 3.781 kB / 0.7928 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.1836, allocations: 11.44 kB / 0.7928 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.1836, allocations: 0 / 0.7928 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.00184/0.1855, allocations: 436.5 kB / 0.7932 GB, free: 2.84 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)