Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.592/1.592, allocations: 287.4 MB / 302.5 MB, free: 8.25 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.001317/0.001317, allocations: 184.5 kB / 371.1 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 1.468/1.468, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007578/0.000758, allocations: 86.61 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003875, allocations: 16.89 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2571, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007413/0.2646, allocations: 6.44 MB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005868/0.2705, allocations: 4.769 MB / 0.9897 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.2723, allocations: 35.75 kB / 0.9897 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004943/0.2774, allocations: 1.38 MB / 0.9911 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.28, allocations: 0.52 MB / 0.9916 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2812, allocations: 164.4 kB / 0.9917 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002865/0.2841, allocations: 1.813 MB / 0.9935 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.2851, allocations: 0.5415 MB / 0.994 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2863, allocations: 0.6063 MB / 0.9946 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2875, allocations: 0.7581 MB / 0.9954 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.2878, allocations: 64 kB / 0.9954 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007784/0.2886, allocations: 155.8 kB / 0.9956 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004055/0.289, allocations: 294.7 kB / 0.9959 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.2896, allocations: 352.7 kB / 0.9962 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.291, allocations: 1.637 MB / 0.9978 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.291, allocations: 4 kB / 0.9978 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.291, allocations: 4 kB / 0.9978 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.291, allocations: 0 / 0.9978 GB, free: 8.484 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002108/0.2932, allocations: 1.869 MB / 0.9996 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.2932, allocations: 16.03 kB / 0.9996 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.2933, allocations: 70.72 kB / 0.9997 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.2935, allocations: 206.3 kB / 0.9999 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2951, allocations: 1.563 MB / 1.001 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2952, allocations: 25 kB / 1.001 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.2952, allocations: 43.98 kB / 1.001 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.2958, allocations: 450.2 kB / 1.002 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2958, allocations: 0 / 1.002 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.2958, allocations: 12 kB / 1.002 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.2959, allocations: 24.98 kB / 1.002 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.2964, allocations: 427.6 kB / 1.002 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.2987, allocations: 2.319 MB / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/0.2995, allocations: 0.5001 MB / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.2998, allocations: 209.2 kB / 1.005 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2998, allocations: 4.219 kB / 1.005 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.2998, allocations: 38.84 kB / 1.005 GB, free: 428 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.2998, allocations: 0 / 1.005 GB, free: 428 kB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0008352/0.3007, allocations: 0.6329 MB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3007, allocations: 55.41 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.3038, allocations: 2.563 MB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.3039, allocations: 29.7 kB / 1.009 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/0.3046, allocations: 0.7721 MB / 1.009 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.3047, allocations: 114.3 kB / 1.009 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.3047, allocations: 4 kB / 1.009 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3049, allocations: 326.5 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.3051, allocations: 139.8 kB / 1.01 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.3054, allocations: 181.3 kB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.3058, allocations: 321.2 kB / 1.01 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3058, allocations: 0 / 1.01 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007529/0.3066, allocations: 0.5185 MB / 1.011 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3066, allocations: 8 kB / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3066, allocations: 0 / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3066, allocations: 0 / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.307, allocations: 79.89 kB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.307, allocations: 4 kB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.3074, allocations: 31.59 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3075, allocations: 12 kB / 1.011 GB, free: 10.56 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009025/0.3084, allocations: 0.6899 MB / 1.012 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.3086, allocations: 189.6 kB / 1.012 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.3089, allocations: 215.2 kB / 1.012 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3089, allocations: 4 kB / 1.012 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3089, allocations: 0 / 1.012 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3089, allocations: 0 / 1.012 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.311, allocations: 1.585 MB / 1.014 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.311, allocations: 3.938 kB / 1.014 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.3113, allocations: 75.91 kB / 1.014 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3113, allocations: 3.984 kB / 1.014 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3113, allocations: 8 kB / 1.014 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3113, allocations: 4 kB / 1.014 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3114, allocations: 3.938 kB / 1.014 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.3121, allocations: 0.6436 MB / 1.014 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.3126, allocations: 370.6 kB / 1.015 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.3128, allocations: 8 kB / 1.015 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.3132, allocations: 15.89 kB / 1.015 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3132, allocations: 27.92 kB / 1.015 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3132, allocations: 4 kB / 1.015 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002523/0.3158, allocations: 1.831 MB / 1.017 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3158, allocations: 0 / 1.017 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006243/0.3164, allocations: 231.8 kB / 1.017 GB, free: 4.523 MB / 0.6355 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 (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.00131/0.3177, allocations: 1.247 MB / 1.018 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005647/0.3183, allocations: 323.6 kB / 1.018 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3183, allocations: 0 / 1.018 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.3185, allocations: 172.2 kB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.3209, allocations: 0.5785 MB / 1.019 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/0.3425, allocations: 12.85 MB / 1.032 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.3438, allocations: 1.75 MB / 1.033 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009681/0.3448, allocations: 311 kB / 1.034 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006851/0.3455, allocations: 0.5891 MB / 1.034 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.3455, allocations: 0 / 1.034 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6288/0.9744, allocations: 37.97 MB / 1.071 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.9747, allocations: 266.6 kB / 1.071 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/4.189, allocations: 2.594 kB / 1.071 GB, free: 81.06 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)