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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001137/0.001136, allocations: 191.8 kB / 376.9 MB, free: 1.793 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.324/1.324, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009305/0.0009306, allocations: 102.8 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009947/0.0009947, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2382, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002634/0.2408, allocations: 1.6 MB / 0.9838 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 9.594e-05/0.241, allocations: 31.86 kB / 0.9838 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.241, allocations: 0 / 0.9838 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2411, allocations: 7.922 kB / 0.9838 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.325e-05/0.2412, allocations: 11.92 kB / 0.9838 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.459e-05/0.2413, allocations: 15.98 kB / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.2414, allocations: 43.84 kB / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2415, allocations: 31.98 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.2415, allocations: 19.92 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.2416, allocations: 19.92 kB / 0.984 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2416, allocations: 4 kB / 0.984 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2416, allocations: 7.938 kB / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.2417, allocations: 11.98 kB / 0.984 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.2417, allocations: 35.78 kB / 0.984 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.514e-05/0.2418, allocations: 56.03 kB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2418, allocations: 0 / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2418, allocations: 4 kB / 0.9841 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.2418, allocations: 0 / 0.9841 GB, free: 8.469 MB / 0.7136 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.0003547/0.2422, allocations: 363.3 kB / 0.9844 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2422, allocations: 8.031 kB / 0.9844 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.2423, allocations: 8.844 kB / 0.9844 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.2424, allocations: 192.1 kB / 0.9846 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2425, allocations: 4.375 kB / 0.9846 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2425, allocations: 8.375 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.2427, allocations: 103.3 kB / 0.9847 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2427, allocations: 8.109 kB / 0.9847 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2427, allocations: 7.938 kB / 0.9847 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2427, allocations: 4 kB / 0.9847 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.2428, allocations: 35.92 kB / 0.9848 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005832/0.2434, allocations: 0.6479 MB / 0.9854 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.2435, allocations: 173 kB / 0.9856 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.2435, allocations: 80.14 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.2436, allocations: 79.28 kB / 0.9857 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.2436, allocations: 105.8 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2436, allocations: 0 / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.244e-05/0.2437, allocations: 37.55 kB / 0.9859 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.2438, allocations: 134.6 kB / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.244, allocations: 166.5 kB / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.244, allocations: 25.7 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.2441, allocations: 107.9 kB / 0.9863 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.2441, allocations: 0 / 0.9863 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2441, allocations: 17.72 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2442, allocations: 318.8 kB / 0.9866 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.2442, allocations: 4 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.2443, allocations: 26.58 kB / 0.9866 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.2443, allocations: 34.5 kB / 0.9867 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2443, allocations: 0 / 0.9867 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001146/0.2444, allocations: 53.55 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2445, allocations: 8 kB / 0.9867 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2445, allocations: 0 / 0.9867 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2445, allocations: 3.938 kB / 0.9867 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.375e-05/0.2445, allocations: 4 kB / 0.9867 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2446, allocations: 12.08 kB / 0.9867 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.2446, allocations: 7.844 kB / 0.9868 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.2446, allocations: 4 kB / 0.9868 GB, free: 5.457 MB / 0.7136 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 9.402e-05/0.2447, allocations: 189.1 kB / 0.9869 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.2448, allocations: 108.9 kB / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.2448, allocations: 120.8 kB / 0.9872 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.458e-05/0.2449, allocations: 180.3 kB / 0.9873 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-05/0.2449, allocations: 180.2 kB / 0.9875 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/0.245, allocations: 184.3 kB / 0.9877 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2452, allocations: 425.1 kB / 0.9881 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.2453, allocations: 101.1 kB / 0.9882 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.2453, allocations: 105 kB / 0.9883 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/0.2454, allocations: 196.1 kB / 0.9885 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.2454, allocations: 184.2 kB / 0.9886 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.286e-05/0.2455, allocations: 180.2 kB / 0.9888 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.426e-05/0.2455, allocations: 176.3 kB / 0.989 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.2459, allocations: 0.8685 MB / 0.9898 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.2459, allocations: 186 kB / 0.99 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.246, allocations: 176.3 kB / 0.9902 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.2461, allocations: 112.9 kB / 0.9903 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.2462, allocations: 184.2 kB / 0.9905 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.2462, allocations: 108.9 kB / 0.9906 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.006e-05/0.2463, allocations: 133.8 kB / 0.9907 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2463, allocations: 0 / 0.9907 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000317/0.2466, allocations: 4 kB / 0.9907 GB, free: 1.16 MB / 0.7136 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 0.0001204/0.2467, allocations: 178.5 kB / 0.9909 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.257e-05/0.2468, allocations: 7.984 kB / 0.9909 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.2468, allocations: 4.188 kB / 0.9909 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.2468, allocations: 0 / 0.9909 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2472, allocations: 0.5321 MB / 0.9914 GB, free: 440 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.2475, allocations: 247 kB / 0.9916 GB, free: 160 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.2478, allocations: 0.6926 MB / 0.9923 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.2478, allocations: 11.92 kB / 0.9923 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.2479, allocations: 7.438 kB / 0.9923 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.2479, allocations: 0 / 0.9923 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.00208/0.2499, allocations: 436.6 kB / 0.9927 GB, free: 14.99 MB / 0.7292 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)