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.001142/0.001142, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001149/0.001149, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.179/1.179, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.569/1.569, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001251/0.001251, allocations: 59.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1764, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002488/0.1789, allocations: 1.524 MB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.1791, allocations: 35.84 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.1791, allocations: 0 / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1793, allocations: 7.938 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.1793, allocations: 15.8 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.1794, allocations: 19.98 kB / 0.7856 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.1795, allocations: 43.91 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1796, allocations: 31.97 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1797, allocations: 23.91 kB / 0.7857 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.1797, allocations: 27.84 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1798, allocations: 8 kB / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.1798, allocations: 8 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1798, allocations: 19.92 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1799, allocations: 23.88 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.18, allocations: 67.89 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.18, allocations: 0 / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.18, allocations: 0 / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.18, allocations: 0 / 0.7859 GB, free: 1.938 MB / 0.6544 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.0003816/0.1804, allocations: 363.3 kB / 0.7862 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1804, allocations: 12.03 kB / 0.7862 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.1805, allocations: 12.78 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.1806, allocations: 184.3 kB / 0.7864 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.1806, allocations: 384 / 0.7864 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1807, allocations: 8.375 kB / 0.7864 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1808, allocations: 103.3 kB / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1808, allocations: 192 / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1808, allocations: 7.938 kB / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1809, allocations: 8 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.1809, allocations: 39.91 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.1814, allocations: 0.6401 MB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.1815, allocations: 169.1 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.1815, allocations: 80.14 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1816, allocations: 75.28 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2742/0.4558, allocations: 109.8 kB / 0.7876 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.936e-06/0.4558, allocations: 0 / 0.7876 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.705e-05/0.4559, allocations: 38.48 kB / 0.7877 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.4559, allocations: 133.5 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4561, allocations: 169.6 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-06/0.4561, allocations: 25.7 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.4562, allocations: 103.3 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.4562, allocations: 0 / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.4562, allocations: 17.33 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.4562, allocations: 322.8 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.4563, allocations: 2.656 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.4563, allocations: 20.27 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.4563, allocations: 29.77 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4563, allocations: 0 / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/0.4564, allocations: 62.42 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4565, allocations: 5.188 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4565, allocations: 8.562 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.4565, allocations: 0 / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.4565, allocations: 8.797 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4565, allocations: 0 / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.4566, allocations: 9.422 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.4566, allocations: 2.812 kB / 0.7885 GB, free: 48.16 MB / 0.6544 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 4.829e-05/0.4566, allocations: 193.4 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.4567, allocations: 112.1 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.4567, allocations: 123.6 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.4567, allocations: 186.2 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/0.4568, allocations: 181.9 kB / 0.7893 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.4568, allocations: 186.4 kB / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.4569, allocations: 422.6 kB / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4569, allocations: 104.4 kB / 0.79 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.457, allocations: 106.6 kB / 0.7901 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.457, allocations: 179.5 kB / 0.7903 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.457, allocations: 183 kB / 0.7904 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.755e-05/0.457, allocations: 181.6 kB / 0.7906 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-05/0.457, allocations: 182.7 kB / 0.7908 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.991e-05/0.4571, allocations: 316.8 kB / 0.7911 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.4571, allocations: 196.5 kB / 0.7913 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4572, allocations: 180.5 kB / 0.7914 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.4572, allocations: 107.1 kB / 0.7915 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.4573, allocations: 183.7 kB / 0.7917 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4573, allocations: 106.4 kB / 0.7918 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.4573, allocations: 128.9 kB / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4573, allocations: 0 / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001997/0.4575, allocations: 5.406 kB / 0.792 GB, free: 44.68 MB / 0.6544 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 6.754e-05/0.4576, allocations: 176.5 kB / 0.7921 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.4577, allocations: 15.75 kB / 0.7921 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4577, allocations: 0 / 0.7921 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.4577, allocations: 0 / 0.7921 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.4579, allocations: 466.8 kB / 0.7926 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.4582, allocations: 221.6 kB / 0.7928 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.604e-05/0.4583, allocations: 0.6933 MB / 0.7935 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.4583, allocations: 4.969 kB / 0.7935 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.4583, allocations: 10.84 kB / 0.7935 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.4583, allocations: 0 / 0.7935 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.001829/0.4601, allocations: 429.6 kB / 0.7939 GB, free: 43.18 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)