Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 113.1 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001627, allocations: 188.7 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.891/1.891, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3025, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.5288/0.8314, allocations: 7.322 MB / 0.7919 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006826/0.8382, allocations: 5.22 MB / 0.797 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.8396, allocations: 48.03 kB / 0.7971 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004244/0.8438, allocations: 1.679 MB / 0.7987 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.8457, allocations: 0.6116 MB / 0.7993 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.8465, allocations: 230.7 kB / 0.7995 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.8487, allocations: 1.753 MB / 0.8013 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.8495, allocations: 0.585 MB / 0.8018 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.8505, allocations: 0.6754 MB / 0.8025 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.8515, allocations: 0.8086 MB / 0.8033 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.8517, allocations: 79.56 kB / 0.8033 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.8523, allocations: 198.1 kB / 0.8035 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.8526, allocations: 326.8 kB / 0.8038 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008307/0.8535, allocations: 0.793 MB / 0.8046 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.8566, allocations: 2.206 MB / 0.8068 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8566, allocations: 1.469 kB / 0.8068 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8566, allocations: 0.5156 kB / 0.8068 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.8567, allocations: 0 / 0.8068 GB, free: 38.93 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.004439/0.8611, allocations: 2.197 MB / 0.8089 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.8612, allocations: 9.562 kB / 0.8089 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.8615, allocations: 200.3 kB / 0.8091 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.8648, allocations: 1.661 MB / 0.8107 GB, free: 36.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.8648, allocations: 28.34 kB / 0.8108 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.8649, allocations: 40.33 kB / 0.8108 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.8658, allocations: 449.7 kB / 0.8112 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.8658, allocations: 0 / 0.8112 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.8659, allocations: 14.88 kB / 0.8113 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.8659, allocations: 20.97 kB / 0.8113 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.8667, allocations: 429.3 kB / 0.8117 GB, free: 36.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.8706, allocations: 2.3 MB / 0.8139 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.8717, allocations: 0.494 MB / 0.8144 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.8721, allocations: 208.7 kB / 0.8146 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.8721, allocations: 4 kB / 0.8146 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.8721, allocations: 36.38 kB / 0.8147 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 2.445e-06/0.8721, allocations: 0 / 0.8147 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.00116/0.8733, allocations: 0.6386 MB / 0.8153 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.8733, allocations: 54.81 kB / 0.8153 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/0.8774, allocations: 2.553 MB / 0.8178 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.8775, allocations: 32.8 kB / 0.8179 GB, free: 33.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/0.8782, allocations: 0.7649 MB / 0.8186 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/0.8783, allocations: 118.3 kB / 0.8187 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.8784, allocations: 72.5 kB / 0.8188 GB, free: 32.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.8785, allocations: 322.2 kB / 0.8191 GB, free: 32.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.8787, allocations: 134.4 kB / 0.8192 GB, free: 32.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.879, allocations: 177.3 kB / 0.8194 GB, free: 32.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.8795, allocations: 331.3 kB / 0.8197 GB, free: 32.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8796, allocations: 4.031 kB / 0.8197 GB, free: 32.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009258/0.8805, allocations: 0.5258 MB / 0.8202 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8805, allocations: 5.531 kB / 0.8202 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.8805, allocations: 1.156 kB / 0.8202 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.8806, allocations: 1.062 kB / 0.8202 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.8809, allocations: 82.09 kB / 0.8203 GB, free: 31.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.8809, allocations: 3.031 kB / 0.8203 GB, free: 31.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.8816, allocations: 27.53 kB / 0.8203 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.8816, allocations: 10.84 kB / 0.8203 GB, free: 31.9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * 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.00102/0.8827, allocations: 0.6903 MB / 0.821 GB, free: 31.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.8829, allocations: 187.8 kB / 0.8212 GB, free: 31.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.8832, allocations: 217.3 kB / 0.8214 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.8833, allocations: 3.594 kB / 0.8214 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8833, allocations: 1.344 kB / 0.8214 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.8833, allocations: 3.141 kB / 0.8214 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.8858, allocations: 1.571 MB / 0.8229 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8858, allocations: 1.188 kB / 0.8229 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.8861, allocations: 78.12 kB / 0.823 GB, free: 30.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8861, allocations: 5.594 kB / 0.823 GB, free: 30.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.8861, allocations: 5.438 kB / 0.823 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8862, allocations: 3.328 kB / 0.823 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.8862, allocations: 5.156 kB / 0.823 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.8869, allocations: 0.6434 MB / 0.8237 GB, free: 30.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.8875, allocations: 371.7 kB / 0.824 GB, free: 30.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.8877, allocations: 7.312 kB / 0.824 GB, free: 30.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.8881, allocations: 9.203 kB / 0.824 GB, free: 30.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.8882, allocations: 24.83 kB / 0.8241 GB, free: 30.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.8882, allocations: 11.84 kB / 0.8241 GB, free: 30.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002917/0.8911, allocations: 1.832 MB / 0.8259 GB, free: 29.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8911, allocations: 0 / 0.8259 GB, free: 29.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000949/0.8921, allocations: 232.1 kB / 0.8261 GB, free: 29.36 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.0004347/0.8925, allocations: 164.1 kB / 0.8262 GB, free: 29.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.8932, allocations: 328.9 kB / 0.8266 GB, free: 29.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8932, allocations: 0 / 0.8266 GB, free: 29.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.8935, allocations: 173.4 kB / 0.8267 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.8959, allocations: 0.6302 MB / 0.8273 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.9009, allocations: 3.148 MB / 0.8304 GB, free: 27.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.9023, allocations: 1.622 MB / 0.832 GB, free: 26.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.9027, allocations: 82.94 kB / 0.8321 GB, free: 26.7 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.9027, allocations: 1.344 kB / 0.8321 GB, free: 26.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.05328/0.956, allocations: 24.55 MB / 0.856 GB, free: 16.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)