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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009626/0.0009627, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001213/0.001213, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.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.942/1.942, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0006085/0.0006088, allocations: 16.91 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3202, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008399/0.3287, allocations: 6.447 MB / 0.7937 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0089/0.3376, allocations: 4.761 MB / 0.7984 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.3389, allocations: 39.81 kB / 0.7984 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004322/0.3432, allocations: 1.368 MB / 0.7997 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3452, allocations: 0.52 MB / 0.8002 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.3459, allocations: 175.4 kB / 0.8004 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.3484, allocations: 1.623 MB / 0.802 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/0.3491, allocations: 0.5007 MB / 0.8025 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008435/0.3499, allocations: 0.6062 MB / 0.8031 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008601/0.3508, allocations: 0.7464 MB / 0.8038 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.3509, allocations: 60 kB / 0.8039 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.3514, allocations: 175.8 kB / 0.804 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.3517, allocations: 290.7 kB / 0.8043 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.352, allocations: 356.6 kB / 0.8046 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.3536, allocations: 1.633 MB / 0.8062 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3537, allocations: 0 / 0.8062 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3537, allocations: 0 / 0.8062 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.196e-05/0.3537, allocations: 0 / 0.8062 GB, free: 8.461 MB / 0.6231 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.00274/0.3564, allocations: 1.892 MB / 0.8081 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3565, allocations: 8.031 kB / 0.8081 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.793e-05/0.3566, allocations: 82.52 kB / 0.8082 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.3568, allocations: 197.5 kB / 0.8084 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.3591, allocations: 1.463 MB / 0.8098 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.3591, allocations: 40.92 kB / 0.8098 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.3592, allocations: 32 kB / 0.8099 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.3599, allocations: 446.3 kB / 0.8103 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3599, allocations: 0 / 0.8103 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.36, allocations: 16 kB / 0.8103 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.36, allocations: 20.98 kB / 0.8103 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/0.3607, allocations: 419.7 kB / 0.8107 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.3637, allocations: 2.338 MB / 0.813 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.3647, allocations: 0.5006 MB / 0.8135 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.365, allocations: 201.3 kB / 0.8137 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.365, allocations: 4.281 kB / 0.8137 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.365, allocations: 38.84 kB / 0.8137 GB, free: 484 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=34): time 1.973e-06/0.3651, allocations: 0 / 0.8137 GB, free: 484 kB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.0009909/0.366, allocations: 0.6378 MB / 0.8143 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3661, allocations: 55.41 kB / 0.8144 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.3695, allocations: 2.563 MB / 0.8169 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.3695, allocations: 33.7 kB / 0.8169 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007923/0.3703, allocations: 0.7605 MB / 0.8177 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3705, allocations: 118.3 kB / 0.8178 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.3705, allocations: 12 kB / 0.8178 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3706, allocations: 318 kB / 0.8181 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.3709, allocations: 135.9 kB / 0.8182 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.3711, allocations: 170 kB / 0.8184 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3714, allocations: 169.7 kB / 0.8186 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3714, allocations: 0 / 0.8186 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007936/0.3722, allocations: 0.5338 MB / 0.8191 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3722, allocations: 8 kB / 0.8191 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3722, allocations: 4.031 kB / 0.8191 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3723, allocations: 0 / 0.8191 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.3726, allocations: 75.89 kB / 0.8192 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3726, allocations: 4 kB / 0.8192 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.3731, allocations: 31.69 kB / 0.8192 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3731, allocations: 11.94 kB / 0.8192 GB, free: 10.77 MB / 0.6387 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.0008838/0.374, allocations: 0.6887 MB / 0.8199 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.3742, allocations: 193.5 kB / 0.8201 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.3745, allocations: 223.2 kB / 0.8203 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3745, allocations: 3.938 kB / 0.8203 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3745, allocations: 4 kB / 0.8203 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3746, allocations: 0 / 0.8203 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.3766, allocations: 1.577 MB / 0.8218 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3766, allocations: 0 / 0.8218 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.3769, allocations: 76 kB / 0.8219 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.3769, allocations: 7.984 kB / 0.8219 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3769, allocations: 8 kB / 0.8219 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3769, allocations: 4 kB / 0.8219 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3769, allocations: 0 / 0.8219 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.3778, allocations: 0.6397 MB / 0.8225 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/0.3785, allocations: 374.5 kB / 0.8229 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.3786, allocations: 8 kB / 0.8229 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.379, allocations: 11.98 kB / 0.8229 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.3791, allocations: 15.98 kB / 0.8229 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.3791, allocations: 12 kB / 0.8229 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003235/0.3824, allocations: 1.827 MB / 0.8247 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3824, allocations: 0 / 0.8247 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008191/0.3832, allocations: 235.7 kB / 0.825 GB, free: 4.738 MB / 0.6387 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.001342/0.3846, allocations: 1.25 MB / 0.8262 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006023/0.3852, allocations: 323.7 kB / 0.8265 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3852, allocations: 0 / 0.8265 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.3855, allocations: 172 kB / 0.8266 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.388, allocations: 0.5849 MB / 0.8272 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/0.4099, allocations: 12.86 MB / 0.8398 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.4113, allocations: 1.75 MB / 0.8415 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009535/0.4123, allocations: 315 kB / 0.8418 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.413, allocations: 0.5891 MB / 0.8424 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of SimCode: time 9.31e-07/0.413, allocations: 0 / 0.8424 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06689/0.4799, allocations: 37.96 MB / 0.8794 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.4802, allocations: 273.7 kB / 0.8797 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.59, allocations: 4 kB / 0.8797 GB, free: 12.28 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) Environment - environmentSimulation: