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.637/1.637, allocations: 288.4 MB / 303.6 MB, free: 8.156 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.0009995/0.0009995, allocations: 174.4 kB / 372.3 MB, free: 10.12 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.447/1.447, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.0006943/0.0006943, allocations: 104.6 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 13.22 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.222, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005246/0.2273, allocations: 6.442 MB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005812/0.2331, allocations: 4.775 MB / 0.9911 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008585/0.234, allocations: 35.75 kB / 0.9912 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003502/0.2375, allocations: 1.442 MB / 0.9926 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.2387, allocations: 0.5161 MB / 0.9931 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.2393, allocations: 171.7 kB / 0.9933 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.2408, allocations: 1.808 MB / 0.995 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.2413, allocations: 0.5376 MB / 0.9955 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.2418, allocations: 0.6102 MB / 0.9961 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.2425, allocations: 0.7542 MB / 0.9969 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.2426, allocations: 60 kB / 0.9969 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.243, allocations: 175.8 kB / 0.9971 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.2432, allocations: 298.6 kB / 0.9974 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.2437, allocations: 0.7398 MB / 0.9981 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009887/0.2447, allocations: 1.64 MB / 0.9997 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2447, allocations: 0 / 0.9997 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2447, allocations: 0 / 0.9997 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.2447, allocations: 0 / 0.9997 GB, free: 7.133 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.001988/0.2467, allocations: 1.872 MB / 1.002 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2468, allocations: 12.03 kB / 1.002 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.088e-05/0.2468, allocations: 74.72 kB / 1.002 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.247, allocations: 202.4 kB / 1.002 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.2488, allocations: 1.558 MB / 1.003 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2489, allocations: 32.98 kB / 1.003 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.2489, allocations: 36 kB / 1.003 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.2495, allocations: 446.3 kB / 1.004 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2495, allocations: 0 / 1.004 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.2496, allocations: 23.97 kB / 1.004 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.2496, allocations: 20.98 kB / 1.004 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.2501, allocations: 427.5 kB / 1.004 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.2526, allocations: 2.327 MB / 1.007 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.2536, allocations: 0.4961 MB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.2539, allocations: 206 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.254, allocations: 4.281 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.254, allocations: 42.84 kB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.254, allocations: 0 / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.0009355/0.2549, allocations: 0.6405 MB / 1.008 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.255, allocations: 55.41 kB / 1.008 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/0.2582, allocations: 2.559 MB / 1.01 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2582, allocations: 33.7 kB / 1.01 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000753/0.259, allocations: 0.7643 MB / 1.011 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2591, allocations: 114.3 kB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.2591, allocations: 4 kB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2593, allocations: 326.5 kB / 1.012 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2595, allocations: 139.9 kB / 1.012 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.2598, allocations: 173.5 kB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.2602, allocations: 325 kB / 1.012 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2602, allocations: 0 / 1.012 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007674/0.261, allocations: 0.5146 MB / 1.013 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.261, allocations: 9.562 kB / 1.013 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.261, allocations: 0 / 1.013 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2611, allocations: 8.016 kB / 1.013 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.2614, allocations: 75.91 kB / 1.013 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.2614, allocations: 4 kB / 1.013 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.2619, allocations: 39.52 kB / 1.013 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2619, allocations: 4 kB / 1.013 GB, free: 9.219 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.0008685/0.2628, allocations: 0.6964 MB / 1.014 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.263, allocations: 181.7 kB / 1.014 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.2633, allocations: 219.2 kB / 1.014 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2633, allocations: 8 kB / 1.014 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2633, allocations: 0 / 1.014 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2633, allocations: 3.984 kB / 1.014 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.2654, allocations: 1.57 MB / 1.016 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2654, allocations: 0 / 1.016 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.2657, allocations: 79.89 kB / 1.016 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.2657, allocations: 12.03 kB / 1.016 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2657, allocations: 4 kB / 1.016 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2658, allocations: 4 kB / 1.016 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2658, allocations: 3.938 kB / 1.016 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.2665, allocations: 0.6319 MB / 1.016 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/0.267, allocations: 386.5 kB / 1.017 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.2672, allocations: 4 kB / 1.017 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.2676, allocations: 8 kB / 1.017 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.2676, allocations: 27.84 kB / 1.017 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2676, allocations: 12 kB / 1.017 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002545/0.2702, allocations: 1.827 MB / 1.018 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2702, allocations: 4 kB / 1.018 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006339/0.2708, allocations: 227.8 kB / 1.019 GB, free: 3.184 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.001371/0.2722, allocations: 1.248 MB / 1.02 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.2728, allocations: 327.9 kB / 1.02 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2728, allocations: 0 / 1.02 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.273, allocations: 168 kB / 1.02 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.2754, allocations: 0.5879 MB / 1.021 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/0.2969, allocations: 12.84 MB / 1.033 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.2984, allocations: 1.758 MB / 1.035 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008821/0.2992, allocations: 311 kB / 1.035 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/0.3, allocations: 0.593 MB / 1.036 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of SimCode: time 8.21e-07/0.3, allocations: 0 / 1.036 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.942/1.242, allocations: 38.3 MB / 1.073 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.242, allocations: 280.8 kB / 1.074 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/5.118, allocations: 1.406 kB / 1.074 GB, free: 82.46 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)