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.001533/0.001533, allocations: 106.6 kB / 16.27 MB, free: 5.992 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.001657/0.001657, allocations: 188.5 kB / 17.2 MB, free: 5.605 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.73/1.73, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.96/1.96, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001549/0.001549, allocations: 68.38 kB / 0.6722 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3266, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.5548/0.8815, allocations: 7.306 MB / 0.7912 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.8881, allocations: 5.227 MB / 0.7963 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.8893, allocations: 39.34 kB / 0.7963 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.8935, allocations: 1.691 MB / 0.798 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.8953, allocations: 0.5985 MB / 0.7985 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008068/0.8961, allocations: 233 kB / 0.7988 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.8981, allocations: 1.741 MB / 0.8005 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007305/0.8988, allocations: 0.5778 MB / 0.801 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008477/0.8997, allocations: 0.6653 MB / 0.8017 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009484/0.9007, allocations: 0.8194 MB / 0.8025 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.9008, allocations: 84.44 kB / 0.8026 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.9014, allocations: 199.9 kB / 0.8028 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.9017, allocations: 327.5 kB / 0.8031 GB, free: 40.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008039/0.9025, allocations: 0.7927 MB / 0.8038 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.9057, allocations: 2.189 MB / 0.806 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9057, allocations: 0.9062 kB / 0.806 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9057, allocations: 0 / 0.806 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.058e-05/0.9058, allocations: 4 kB / 0.806 GB, free: 39.22 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.004176/0.9099, allocations: 2.204 MB / 0.8081 GB, free: 37.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.91, allocations: 10.27 kB / 0.8081 GB, free: 37.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.9104, allocations: 203.6 kB / 0.8083 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.9133, allocations: 1.567 MB / 0.8099 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.9133, allocations: 28.06 kB / 0.8099 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.9134, allocations: 36.56 kB / 0.8099 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008961/0.9143, allocations: 445.3 kB / 0.8104 GB, free: 36.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.9143, allocations: 1.188 kB / 0.8104 GB, free: 36.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.9144, allocations: 14.41 kB / 0.8104 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/0.9144, allocations: 23.92 kB / 0.8104 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.9151, allocations: 433.3 kB / 0.8108 GB, free: 36.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/0.919, allocations: 2.336 MB / 0.8131 GB, free: 35.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.9201, allocations: 0.4988 MB / 0.8136 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.9205, allocations: 202.6 kB / 0.8138 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.9205, allocations: 3.531 kB / 0.8138 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.9205, allocations: 36.73 kB / 0.8138 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.9205, allocations: 0 / 0.8138 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.001209/0.9217, allocations: 0.6384 MB / 0.8144 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.9218, allocations: 54.28 kB / 0.8145 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004202/0.926, allocations: 2.578 MB / 0.817 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.9261, allocations: 36.39 kB / 0.817 GB, free: 33.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007717/0.9268, allocations: 0.7658 MB / 0.8178 GB, free: 33.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.9269, allocations: 114.1 kB / 0.8179 GB, free: 33.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.9271, allocations: 68.64 kB / 0.818 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.9272, allocations: 326.7 kB / 0.8183 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.9275, allocations: 134.3 kB / 0.8184 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.9278, allocations: 177.7 kB / 0.8186 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.9283, allocations: 337.8 kB / 0.8189 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9283, allocations: 0 / 0.8189 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009897/0.9293, allocations: 0.5297 MB / 0.8194 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.9294, allocations: 6.812 kB / 0.8194 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.9294, allocations: 3.938 kB / 0.8194 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9294, allocations: 1.156 kB / 0.8194 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.9298, allocations: 77.19 kB / 0.8195 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.9298, allocations: 1.062 kB / 0.8195 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.9305, allocations: 28.72 kB / 0.8195 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.9305, allocations: 11.12 kB / 0.8195 GB, free: 32.18 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.001093/0.9316, allocations: 0.6949 MB / 0.8202 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.9319, allocations: 186.8 kB / 0.8204 GB, free: 31.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.9322, allocations: 214 kB / 0.8206 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.9322, allocations: 3.469 kB / 0.8206 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.9322, allocations: 0.6094 kB / 0.8206 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.9323, allocations: 2.422 kB / 0.8206 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.9349, allocations: 1.586 MB / 0.8221 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9349, allocations: 1.641 kB / 0.8221 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.9352, allocations: 74.05 kB / 0.8222 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.9352, allocations: 3.656 kB / 0.8222 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.9353, allocations: 6.891 kB / 0.8222 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.9353, allocations: 2.25 kB / 0.8222 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9353, allocations: 5.734 kB / 0.8222 GB, free: 30.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008377/0.9361, allocations: 0.6439 MB / 0.8229 GB, free: 30.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.9368, allocations: 374.8 kB / 0.8232 GB, free: 30.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.937, allocations: 6.375 kB / 0.8232 GB, free: 30.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.9374, allocations: 9.984 kB / 0.8232 GB, free: 30.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.9375, allocations: 27.83 kB / 0.8233 GB, free: 30.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.9375, allocations: 15.64 kB / 0.8233 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003089/0.9406, allocations: 1.844 MB / 0.8251 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9406, allocations: 0 / 0.8251 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009516/0.9416, allocations: 229.3 kB / 0.8253 GB, free: 29.63 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.0004575/0.942, allocations: 158.9 kB / 0.8254 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007837/0.9428, allocations: 404.5 kB / 0.8258 GB, free: 29.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9428, allocations: 5.406 kB / 0.8258 GB, free: 29.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.9431, allocations: 167.7 kB / 0.826 GB, free: 29.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.9456, allocations: 0.6229 MB / 0.8266 GB, free: 29.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.9511, allocations: 3.194 MB / 0.8297 GB, free: 27.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.9526, allocations: 1.613 MB / 0.8313 GB, free: 26.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.953, allocations: 86.66 kB / 0.8314 GB, free: 26.92 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.953, allocations: 0 / 0.8314 GB, free: 26.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.05596/1.009, allocations: 24.45 MB / 0.8553 GB, free: 16.77 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)