Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.0009793/0.0009793, allocations: 188.5 kB / 372 MB, free: 10.28 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.628/1.628, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.001066/0.001066, allocations: 105.1 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 12.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2748, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009745/0.2846, allocations: 6.442 MB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.2966, allocations: 4.761 MB / 0.9906 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.2987, allocations: 35.81 kB / 0.9906 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005883/0.3046, allocations: 1.376 MB / 0.992 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.3073, allocations: 0.5122 MB / 0.9925 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3086, allocations: 176.9 kB / 0.9926 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003529/0.3122, allocations: 1.634 MB / 0.9942 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.3135, allocations: 0.4968 MB / 0.9947 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.3149, allocations: 0.6062 MB / 0.9953 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3165, allocations: 0.7464 MB / 0.996 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000513/0.3171, allocations: 64 kB / 0.9961 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.3182, allocations: 163.8 kB / 0.9963 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.3188, allocations: 290.7 kB / 0.9965 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.3196, allocations: 356.7 kB / 0.9969 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.3221, allocations: 1.637 MB / 0.9985 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3221, allocations: 0 / 0.9985 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3221, allocations: 0 / 0.9985 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.151e-05/0.3222, allocations: 0 / 0.9985 GB, free: 8.195 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.004405/0.3266, allocations: 1.896 MB / 1 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.3267, allocations: 12.02 kB / 1 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.3269, allocations: 74.53 kB / 1 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.3274, allocations: 197.5 kB / 1.001 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.3314, allocations: 1.471 MB / 1.002 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.3315, allocations: 24.98 kB / 1.002 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3316, allocations: 36 kB / 1.002 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.3328, allocations: 446.3 kB / 1.003 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.3328, allocations: 4 kB / 1.003 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.3329, allocations: 15.98 kB / 1.003 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/0.333, allocations: 20.98 kB / 1.003 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.334, allocations: 427.7 kB / 1.003 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00534/0.3393, allocations: 2.327 MB / 1.005 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.341, allocations: 0.5044 MB / 1.006 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.3415, allocations: 205.2 kB / 1.006 GB, free: 260 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3415, allocations: 4.281 kB / 1.006 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3416, allocations: 34.84 kB / 1.006 GB, free: 212 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 3.998e-06/0.3416, allocations: 4 kB / 1.006 GB, free: 208 kB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.002135/0.3437, allocations: 0.6329 MB / 1.007 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.3438, allocations: 59.34 kB / 1.007 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007496/0.3513, allocations: 2.563 MB / 1.009 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.3515, allocations: 33.7 kB / 1.009 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.353, allocations: 0.7644 MB / 1.01 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.3533, allocations: 110.3 kB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.3533, allocations: 12 kB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3535, allocations: 318 kB / 1.01 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.354, allocations: 131.9 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.3544, allocations: 177.5 kB / 1.011 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.3549, allocations: 172.3 kB / 1.011 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3549, allocations: 0 / 1.011 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001749/0.3567, allocations: 0.5301 MB / 1.011 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.3567, allocations: 4 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3568, allocations: 3.938 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.3568, allocations: 4 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.3575, allocations: 75.95 kB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.3575, allocations: 8.031 kB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3589, allocations: 31.62 kB / 1.011 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.3589, allocations: 8 kB / 1.011 GB, free: 10.5 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.001402/0.3603, allocations: 0.6809 MB / 1.012 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/0.3609, allocations: 189.5 kB / 1.012 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.3614, allocations: 223.2 kB / 1.013 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3614, allocations: 7.938 kB / 1.013 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3614, allocations: 0 / 1.013 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3615, allocations: 4 kB / 1.013 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.3646, allocations: 1.57 MB / 1.014 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3647, allocations: 0 / 1.014 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.3651, allocations: 79.89 kB / 1.014 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.3652, allocations: 4 kB / 1.014 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.3652, allocations: 4 kB / 1.014 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.3652, allocations: 8.031 kB / 1.014 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3652, allocations: 4 kB / 1.014 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3663, allocations: 0.6436 MB / 1.015 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009261/0.3673, allocations: 374.5 kB / 1.015 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/0.3677, allocations: 4 kB / 1.015 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.3685, allocations: 12 kB / 1.015 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.3686, allocations: 23.97 kB / 1.015 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.3687, allocations: 8 kB / 1.015 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004228/0.3729, allocations: 1.831 MB / 1.017 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/0.3729, allocations: 0 / 1.017 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001215/0.3742, allocations: 235.7 kB / 1.017 GB, free: 4.469 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.002006/0.3762, allocations: 1.255 MB / 1.018 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.3769, allocations: 319.7 kB / 1.019 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3769, allocations: 4 kB / 1.019 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.3771, allocations: 176 kB / 1.019 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/0.3808, allocations: 0.5821 MB / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/0.4087, allocations: 12.84 MB / 1.032 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.4108, allocations: 1.761 MB / 1.034 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001179/0.412, allocations: 303.1 kB / 1.034 GB, free: 2.379 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.413, allocations: 0.5969 MB / 1.035 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of SimCode: time 1.323e-06/0.413, allocations: 0 / 1.035 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4927/0.9057, allocations: 37.96 MB / 1.072 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.9059, allocations: 276.2 kB / 1.072 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/3.901, allocations: 0 / 1.072 GB, free: 80.98 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)