Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 174.5 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 81.5 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 9.031 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2996, allocations: 106.3 MB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002311/0.3019, allocations: 1.246 MB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000226/0.3022, allocations: 35.84 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.3023, allocations: 4 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.3025, allocations: 11.92 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.3026, allocations: 0 / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3028, allocations: 15.98 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3029, allocations: 51.78 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.3031, allocations: 27.97 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.3032, allocations: 19.92 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.3033, allocations: 19.86 kB / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.3033, allocations: 0 / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.3034, allocations: 4 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.3034, allocations: 11.98 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.3035, allocations: 49.52 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.3036, allocations: 43.91 kB / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3036, allocations: 0 / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3036, allocations: 0 / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3037, allocations: 0 / 0.903 GB, free: 61.77 MB / 0.6042 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.0004887/0.3042, allocations: 343.6 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.3042, allocations: 12.03 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.3043, allocations: 8.844 kB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.3045, allocations: 196.1 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.3046, allocations: 12.38 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3046, allocations: 4.375 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3048, allocations: 90.08 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3048, allocations: 192 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.3049, allocations: 11.94 kB / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3049, allocations: 3.984 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.305, allocations: 47.91 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.3056, allocations: 0.6323 MB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.3057, allocations: 169.1 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.3058, allocations: 84.14 kB / 0.9045 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3058, allocations: 79.28 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.3058, allocations: 117.8 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3058, allocations: 0 / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.306, allocations: 37.55 kB / 0.9047 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.306, allocations: 126.7 kB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3062, allocations: 176.3 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.3062, allocations: 25.7 kB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.3063, allocations: 111.9 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-06/0.3063, allocations: 0 / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.3063, allocations: 0 / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.3064, allocations: 318.8 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.3065, allocations: 7.984 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.3065, allocations: 18.58 kB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.3065, allocations: 30.58 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3066, allocations: 3.938 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001422/0.3067, allocations: 57.53 kB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3067, allocations: 6.656 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3068, allocations: 8 kB / 0.9056 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3068, allocations: 8.031 kB / 0.9056 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.3069, allocations: 4 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3069, allocations: 0 / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.3069, allocations: 4 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3069, allocations: 0 / 0.9056 GB, free: 58.81 MB / 0.6042 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 0.0001144/0.3071, allocations: 201 kB / 0.9058 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.3071, allocations: 112.8 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.3072, allocations: 120.7 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.096e-05/0.3072, allocations: 184.2 kB / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.091e-05/0.3073, allocations: 180.2 kB / 0.9064 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.996e-05/0.3074, allocations: 176.3 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3076, allocations: 429.1 kB / 0.9069 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/0.3076, allocations: 101 kB / 0.907 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.3077, allocations: 109 kB / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.359e-05/0.3077, allocations: 180.2 kB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.3078, allocations: 188.4 kB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.496e-05/0.3078, allocations: 188.2 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.753e-05/0.3079, allocations: 176.3 kB / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.308, allocations: 315.7 kB / 0.9081 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.3081, allocations: 186 kB / 0.9083 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/0.3082, allocations: 188.1 kB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.3083, allocations: 101 kB / 0.9086 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.3083, allocations: 180.3 kB / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.3084, allocations: 108.9 kB / 0.9089 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.532e-05/0.3085, allocations: 130.7 kB / 0.909 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3085, allocations: 3.938 kB / 0.909 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002585/0.3087, allocations: 8 kB / 0.909 GB, free: 55.1 MB / 0.6042 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.0001722/0.3089, allocations: 174.5 kB / 0.9092 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.309, allocations: 11.94 kB / 0.9092 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.309, allocations: 4.188 kB / 0.9092 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.309, allocations: 0 / 0.9092 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3094, allocations: 0.5224 MB / 0.9097 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.3099, allocations: 287.3 kB / 0.91 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3101, allocations: 0.6887 MB / 0.9106 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.3102, allocations: 11.44 kB / 0.9107 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.3102, allocations: 0 / 0.9107 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.002694/0.3129, allocations: 0.7959 MB / 0.9114 GB, free: 52.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)