Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.544/2.544, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001377/0.001377, allocations: 179.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.000878/0.000878, allocations: 98.19 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006442/0.0006444, allocations: 16.41 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2981, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002755/0.3009, allocations: 1.238 MB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.3011, allocations: 31.84 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.3012, allocations: 0 / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.3014, allocations: 11.92 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.3015, allocations: 7.938 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.3016, allocations: 11.98 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3018, allocations: 51.78 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.302, allocations: 27.97 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.302, allocations: 19.92 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.3021, allocations: 15.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3022, allocations: 0 / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.3022, allocations: 4 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.3023, allocations: 19.92 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.3024, allocations: 33.7 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3025, allocations: 36.16 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3025, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3025, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3026, allocations: 0 / 0.9798 GB, free: 26.85 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.0004447/0.303, allocations: 355.2 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3031, allocations: 8.031 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.3032, allocations: 11.86 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3034, allocations: 187 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3034, allocations: 7.938 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.3035, allocations: 8 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.3038, allocations: 96.23 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3038, allocations: 7.875 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3039, allocations: 0 / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3039, allocations: 0 / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3041, allocations: 43.97 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.3049, allocations: 0.6439 MB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.3051, allocations: 181 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.3051, allocations: 80.14 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3051, allocations: 75.28 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.3052, allocations: 105.8 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 3.717e-06/0.3052, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001365/0.3054, allocations: 41.53 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3055, allocations: 130.7 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.3058, allocations: 168.9 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3058, allocations: 25.7 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.3059, allocations: 100 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.3059, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.3059, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.306, allocations: 322.8 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.3061, allocations: 8 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.3062, allocations: 30.55 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.3062, allocations: 8 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3063, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002175/0.3065, allocations: 53.55 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3065, allocations: 4 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3066, allocations: 3.984 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3066, allocations: 8.094 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3067, allocations: 7.938 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3068, allocations: 0 / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.3069, allocations: 11.84 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3069, allocations: 0 / 0.9825 GB, free: 23.91 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 0.0001251/0.307, allocations: 193.1 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.3072, allocations: 112.9 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.3072, allocations: 116.8 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/0.3073, allocations: 181.1 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-05/0.3074, allocations: 180.3 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/0.3074, allocations: 184.2 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3077, allocations: 425.1 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/0.3078, allocations: 113 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.3078, allocations: 113 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.657e-05/0.3079, allocations: 176.3 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.308, allocations: 180.4 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.868e-05/0.3081, allocations: 180.3 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.856e-05/0.3081, allocations: 184.2 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3083, allocations: 311.8 kB / 0.985 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.3084, allocations: 190 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.3085, allocations: 184.2 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3087, allocations: 112.9 kB / 0.9854 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.3087, allocations: 180.2 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.3088, allocations: 108.9 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001939/0.309, allocations: 128.1 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.82e-07/0.309, allocations: 0 / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004908/0.3095, allocations: 4 kB / 0.9858 GB, free: 20.21 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.0001783/0.3098, allocations: 174.5 kB / 0.986 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.3099, allocations: 8 kB / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3099, allocations: 192 / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.3099, allocations: 4 kB / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.3105, allocations: 0.5263 MB / 0.9865 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.311, allocations: 240.3 kB / 0.9868 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3113, allocations: 0.6971 MB / 0.9874 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.3113, allocations: 4 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.3114, allocations: 7.438 kB / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of SimCode: time 3.476e-06/0.3114, allocations: 0 / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.004524/0.3159, allocations: 403.9 kB / 0.9878 GB, free: 18.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)