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.0009264/0.0009263, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.146/1.146, allocations: 205.1 MB / 222 MB, free: 4.762 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.471/1.471, allocations: 292.2 MB / 0.5484 GB, free: 13.62 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.001189/0.001189, allocations: 64.62 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002593/0.1759, allocations: 1.606 MB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001107/0.176, allocations: 27.86 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.1761, allocations: 0 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.1762, allocations: 7.938 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.001e-05/0.1763, allocations: 7.922 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.823e-05/0.1764, allocations: 23.97 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.156e-05/0.1764, allocations: 31.92 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1766, allocations: 35.97 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.1766, allocations: 23.86 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.1766, allocations: 23.91 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1767, allocations: 4 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.1767, allocations: 7.938 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.1767, allocations: 23.92 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1768, allocations: 23.81 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.692e-05/0.1769, allocations: 64.02 kB / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1769, allocations: 0 / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1769, allocations: 0 / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1769, allocations: 0 / 0.7845 GB, free: 12.06 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.0003315/0.1772, allocations: 359.3 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1773, allocations: 12.03 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1773, allocations: 4.844 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1774, allocations: 184.3 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1775, allocations: 4.375 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1775, allocations: 8.375 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1776, allocations: 100.7 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1776, allocations: 192 / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1777, allocations: 7.938 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1777, allocations: 4 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.1777, allocations: 43.91 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1783, allocations: 0.644 MB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.721e-05/0.1783, allocations: 165.1 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.1784, allocations: 85.2 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1784, allocations: 75.28 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1784, allocations: 109.8 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1785, allocations: 7.938 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.031e-05/0.1785, allocations: 41.53 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1786, allocations: 130.7 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1787, allocations: 173.3 kB / 0.7866 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.1788, allocations: 25.7 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1788, allocations: 107.9 kB / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.1788, allocations: 0 / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1788, allocations: 13.72 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.1789, allocations: 314.8 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.179, allocations: 7.984 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.179, allocations: 26.58 kB / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.179, allocations: 26.52 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.179, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001045/0.1792, allocations: 57.53 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1792, allocations: 8 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1792, allocations: 4.094 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1792, allocations: 3.938 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.1792, allocations: 4 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1793, allocations: 4 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.1793, allocations: 3.938 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1793, allocations: 8 kB / 0.7872 GB, free: 9.07 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.659e-05/0.1794, allocations: 197.7 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.1795, allocations: 108.9 kB / 0.7875 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.1795, allocations: 120.8 kB / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/0.1796, allocations: 184.3 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.449e-05/0.1796, allocations: 176.3 kB / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/0.1797, allocations: 188.2 kB / 0.7881 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.1799, allocations: 425.2 kB / 0.7885 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.1799, allocations: 105.1 kB / 0.7886 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.18, allocations: 116.9 kB / 0.7887 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.056e-05/0.18, allocations: 176.3 kB / 0.7889 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.1801, allocations: 184.1 kB / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-05/0.1801, allocations: 176.3 kB / 0.7893 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-05/0.1802, allocations: 188.2 kB / 0.7894 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.1803, allocations: 307.7 kB / 0.7897 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.1804, allocations: 193.9 kB / 0.7899 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.1804, allocations: 180.2 kB / 0.7901 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.1805, allocations: 108.9 kB / 0.7902 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.1806, allocations: 184.3 kB / 0.7904 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.1806, allocations: 104.9 kB / 0.7905 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.13e-05/0.1807, allocations: 131.2 kB / 0.7906 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1807, allocations: 3.938 kB / 0.7906 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002096/0.1809, allocations: 4 kB / 0.7906 GB, free: 5.355 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.887e-05/0.181, allocations: 174.5 kB / 0.7908 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.588e-05/0.1811, allocations: 12 kB / 0.7908 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1811, allocations: 0 / 0.7908 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1811, allocations: 0 / 0.7908 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1815, allocations: 0.5224 MB / 0.7913 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.1817, allocations: 243.3 kB / 0.7915 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.182, allocations: 0.6965 MB / 0.7922 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.182, allocations: 7.781 kB / 0.7922 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.182, allocations: 11.44 kB / 0.7922 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.182, allocations: 0 / 0.7922 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of Templates: time 0.001901/0.1839, allocations: 408.6 kB / 0.7926 GB, free: 3.23 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)