Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 168.7 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007843/0.0007843, allocations: 91 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003511, allocations: 9.219 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005929/0.2091, allocations: 6.45 MB / 0.9066 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00583/0.2149, allocations: 4.755 MB / 0.9113 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.2162, allocations: 35.75 kB / 0.9113 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.2199, allocations: 1.365 MB / 0.9126 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.2217, allocations: 0.52 MB / 0.9131 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.2223, allocations: 169.8 kB / 0.9133 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2237, allocations: 1.629 MB / 0.9149 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005281/0.2242, allocations: 0.4893 MB / 0.9154 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.2248, allocations: 0.5946 MB / 0.9159 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.2255, allocations: 0.7503 MB / 0.9167 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.2256, allocations: 67.94 kB / 0.9167 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.226, allocations: 167.8 kB / 0.9169 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2262, allocations: 290.7 kB / 0.9172 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2265, allocations: 356.7 kB / 0.9175 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2275, allocations: 1.621 MB / 0.9191 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2275, allocations: 4 kB / 0.9191 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2275, allocations: 7.938 kB / 0.9191 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.786e-05/0.2276, allocations: 3.938 kB / 0.9191 GB, free: 44.81 MB / 0.6042 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.002297/0.2299, allocations: 1.884 MB / 0.9209 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2299, allocations: 12.03 kB / 0.921 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.656e-05/0.23, allocations: 82.52 kB / 0.921 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.2302, allocations: 205.4 kB / 0.9212 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.2323, allocations: 1.451 MB / 0.9227 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.2323, allocations: 36.98 kB / 0.9227 GB, free: 41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.2324, allocations: 32 kB / 0.9227 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.233, allocations: 446.3 kB / 0.9231 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.233, allocations: 0 / 0.9231 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.2331, allocations: 16 kB / 0.9232 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.2331, allocations: 28.97 kB / 0.9232 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.2336, allocations: 423.6 kB / 0.9236 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.2363, allocations: 2.323 MB / 0.9259 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/0.2372, allocations: 0.5045 MB / 0.9264 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.2374, allocations: 205.2 kB / 0.9265 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2375, allocations: 288 / 0.9265 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.2375, allocations: 34.84 kB / 0.9266 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.2375, allocations: 0 / 0.9266 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.0008644/0.2384, allocations: 0.6444 MB / 0.9272 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.2384, allocations: 55.41 kB / 0.9273 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.2411, allocations: 2.571 MB / 0.9298 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.2412, allocations: 29.7 kB / 0.9298 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.2417, allocations: 0.7567 MB / 0.9305 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.2418, allocations: 114.3 kB / 0.9307 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.2419, allocations: 8 kB / 0.9307 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.2419, allocations: 325.9 kB / 0.931 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.2421, allocations: 135.8 kB / 0.9311 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.2423, allocations: 169.6 kB / 0.9313 GB, free: 31.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.2425, allocations: 168.5 kB / 0.9314 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2425, allocations: 0 / 0.9314 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007091/0.2432, allocations: 0.5377 MB / 0.9319 GB, free: 31.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2432, allocations: 4 kB / 0.932 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2433, allocations: 0 / 0.932 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2433, allocations: 0 / 0.932 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.2436, allocations: 83.89 kB / 0.932 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2436, allocations: 0 / 0.932 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.2441, allocations: 27.69 kB / 0.9321 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.2441, allocations: 12 kB / 0.9321 GB, free: 31.13 MB / 0.6042 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.0006731/0.2448, allocations: 0.6848 MB / 0.9327 GB, free: 30.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.245, allocations: 189.5 kB / 0.9329 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.2453, allocations: 223.1 kB / 0.9331 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2453, allocations: 7.938 kB / 0.9331 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2453, allocations: 0 / 0.9331 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2453, allocations: 0 / 0.9331 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.247, allocations: 1.574 MB / 0.9347 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.247, allocations: 0 / 0.9347 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.2473, allocations: 79.89 kB / 0.9348 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.2473, allocations: 4 kB / 0.9348 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2473, allocations: 4 kB / 0.9348 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2473, allocations: 7.938 kB / 0.9348 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2473, allocations: 0 / 0.9348 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.248, allocations: 0.6393 MB / 0.9354 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.2485, allocations: 378.4 kB / 0.9358 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.2486, allocations: 4 kB / 0.9358 GB, free: 27.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.249, allocations: 8 kB / 0.9358 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.2491, allocations: 31.91 kB / 0.9358 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2491, allocations: 12 kB / 0.9358 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002045/0.2512, allocations: 1.827 MB / 0.9376 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2512, allocations: 0 / 0.9376 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000816/0.252, allocations: 227.8 kB / 0.9378 GB, free: 25.11 MB / 0.6042 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.001282/0.2533, allocations: 1.257 MB / 0.939 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.2538, allocations: 315.7 kB / 0.9393 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2538, allocations: 7.938 kB / 0.9393 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.254, allocations: 163.8 kB / 0.9395 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.2564, allocations: 0.589 MB / 0.9401 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/0.2771, allocations: 12.82 MB / 0.9526 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.2784, allocations: 1.758 MB / 0.9543 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008851/0.2793, allocations: 307 kB / 0.9546 GB, free: 7.043 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/0.28, allocations: 0.593 MB / 0.9552 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.28, allocations: 0 / 0.9552 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06461/0.3447, allocations: 37.93 MB / 0.9922 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.345, allocations: 277.5 kB / 0.9925 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/3.288, allocations: 6.891 kB / 0.9925 GB, free: 0.6523 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)