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.551/2.551, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001502/0.001502, allocations: 175.6 kB / 370.8 MB, free: 10.84 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.091/2.091, allocations: 205.4 MB / 0.6295 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.001503/0.001502, allocations: 104.3 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005203, allocations: 11.73 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2264, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001836/0.2283, allocations: 1.234 MB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000118/0.2284, allocations: 27.86 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.2285, allocations: 4 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.2286, allocations: 11.92 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.881e-05/0.2286, allocations: 0 / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.2288, allocations: 27.91 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.2288, allocations: 27.91 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.229, allocations: 31.97 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.229, allocations: 15.92 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.2291, allocations: 19.92 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.868e-05/0.2291, allocations: 0 / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.2292, allocations: 4 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.2292, allocations: 15.92 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.2292, allocations: 37.7 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.689e-05/0.2293, allocations: 44.08 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2293, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2294, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2294, allocations: 0 / 0.9797 GB, free: 26.87 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.0003467/0.2297, allocations: 355.2 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2298, allocations: 8.031 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2298, allocations: 11.86 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.23, allocations: 179 kB / 0.9802 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.23, allocations: 11.94 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.23, allocations: 8 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.2302, allocations: 98.42 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2303, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2303, allocations: 8 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2303, allocations: 0 / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.2304, allocations: 43.91 kB / 0.9803 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.231, allocations: 0.6478 MB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.428e-05/0.2311, allocations: 169.1 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.2311, allocations: 79.28 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2312, allocations: 109.8 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.2312, allocations: 0 / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.631e-05/0.2313, allocations: 37.59 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2313, allocations: 126.7 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.2315, allocations: 166.5 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.2315, allocations: 29.7 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.2316, allocations: 100 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/0.2316, allocations: 0 / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/0.2316, allocations: 3.938 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.2317, allocations: 318.8 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.2317, allocations: 4 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.2318, allocations: 22.56 kB / 0.9821 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.2318, allocations: 15.95 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2318, allocations: 0 / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001415/0.232, allocations: 53.55 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.232, allocations: 8 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.232, allocations: 3.984 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.232, allocations: 96 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.2321, allocations: 7.984 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.2321, allocations: 4 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.2322, allocations: 11.94 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2322, allocations: 4 kB / 0.9822 GB, free: 24.02 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.0001216/0.2323, allocations: 197 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.2324, allocations: 112.9 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.2325, allocations: 117.8 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/0.2325, allocations: 180.2 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.498e-05/0.2326, allocations: 180.3 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/0.2326, allocations: 188.2 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.2328, allocations: 421.1 kB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/0.2328, allocations: 108.9 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.2329, allocations: 108.9 kB / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.594e-05/0.2329, allocations: 184.3 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.233, allocations: 180.4 kB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.62e-05/0.233, allocations: 184.3 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.364e-05/0.2331, allocations: 176.3 kB / 0.9844 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.841e-05/0.2332, allocations: 311.8 kB / 0.9847 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.2332, allocations: 197.9 kB / 0.9849 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.2333, allocations: 180.2 kB / 0.9851 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.2334, allocations: 105 kB / 0.9852 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.2334, allocations: 180.2 kB / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.2335, allocations: 105 kB / 0.9855 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001217/0.2336, allocations: 127.9 kB / 0.9856 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2336, allocations: 4 kB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003025/0.2339, allocations: 8 kB / 0.9856 GB, free: 20.32 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.0001234/0.2341, allocations: 174.5 kB / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.008e-05/0.2341, allocations: 7.938 kB / 0.9858 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2342, allocations: 0 / 0.9858 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.2342, allocations: 4 kB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2344, allocations: 0.5226 MB / 0.9863 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.2348, allocations: 238.1 kB / 0.9865 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.235, allocations: 0.6965 MB / 0.9872 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.8e-05/0.235, allocations: 7.984 kB / 0.9872 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.2351, allocations: 11.44 kB / 0.9872 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.563e-06/0.2351, allocations: 0 / 0.9872 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.002837/0.2379, allocations: 403.8 kB / 0.9876 GB, free: 18.2 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)