Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.909/1.909, allocations: 288.3 MB / 303.2 MB, free: 8.086 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.001075/0.001075, allocations: 181 kB / 371.8 MB, free: 10.29 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.932/1.932, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.001026/0.001026, allocations: 96.22 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004862, allocations: 20.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00228/0.2811, allocations: 1.23 MB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002037/0.2814, allocations: 31.81 kB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.2815, allocations: 0 / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.2817, allocations: 19.84 kB / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.2817, allocations: 4 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.2818, allocations: 15.98 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.2819, allocations: 35.89 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2821, allocations: 27.97 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.2822, allocations: 15.92 kB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.2822, allocations: 19.92 kB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2823, allocations: 0 / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.2823, allocations: 0 / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.2823, allocations: 19.92 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.2824, allocations: 33.7 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.319e-05/0.2825, allocations: 44.14 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2825, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.866e-06/0.2825, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.2825, allocations: 0 / 0.9809 GB, free: 26.21 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004328/0.283, allocations: 355.2 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.283, allocations: 8.031 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.2831, allocations: 7.906 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2833, allocations: 186.9 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2833, allocations: 11.88 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.2833, allocations: 15.98 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2835, allocations: 92.23 kB / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2835, allocations: 0 / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2836, allocations: 8 kB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2836, allocations: 3.938 kB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.2837, allocations: 43.97 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.2842, allocations: 0.6439 MB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.2842, allocations: 169.1 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.2843, allocations: 79.28 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2843, allocations: 105.8 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2843, allocations: 4 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.322e-05/0.2844, allocations: 37.61 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2844, allocations: 126.7 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2846, allocations: 163.8 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.2846, allocations: 29.7 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.2846, allocations: 108 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.2846, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.2847, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.2847, allocations: 318.8 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.2847, allocations: 4 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.2848, allocations: 26.52 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.2848, allocations: 8 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2848, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000103/0.2849, allocations: 61.48 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2849, allocations: 5.875 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2849, allocations: 4 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.285, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.285, allocations: 4 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.285, allocations: 3.984 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.2851, allocations: 11.84 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.2851, allocations: 8.094 kB / 0.9834 GB, free: 23.35 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/0.2852, allocations: 193.1 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.2852, allocations: 116.8 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.2853, allocations: 113.8 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/0.2853, allocations: 180.2 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.325e-05/0.2854, allocations: 180.2 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-05/0.2854, allocations: 188.2 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.2856, allocations: 425.2 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/0.2857, allocations: 101 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.2857, allocations: 104.9 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.395e-05/0.2857, allocations: 184.2 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.2858, allocations: 188.4 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.455e-05/0.2858, allocations: 184.3 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.254e-05/0.2858, allocations: 180.2 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.2859, allocations: 307.8 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.286, allocations: 193.9 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.286, allocations: 184.2 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.2861, allocations: 101 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.2862, allocations: 184.2 kB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2862, allocations: 101 kB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.947e-05/0.2863, allocations: 130.1 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2863, allocations: 0 / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002064/0.2865, allocations: 12 kB / 0.9868 GB, free: 19.66 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 (0): * Single equations (assignments): 0 * 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.000109/0.2866, allocations: 170.5 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.2867, allocations: 11.94 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2867, allocations: 0 / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.2867, allocations: 4 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.2869, allocations: 0.5265 MB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.2873, allocations: 237.8 kB / 0.9877 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.2875, allocations: 0.7004 MB / 0.9884 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.2875, allocations: 0 / 0.9884 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.2875, allocations: 19.31 kB / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2875, allocations: 0 / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.003092/0.2906, allocations: 395.9 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)