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.274/1.274, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008663/0.0008666, allocations: 169.8 kB / 325.8 MB, free: 2.688 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.326/1.326, allocations: 205 MB / 0.576 GB, free: 20.99 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.0006644/0.0006644, allocations: 87.48 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002699, allocations: 12.06 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.004609/0.1441, allocations: 6.947 MB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004597/0.1487, allocations: 5.155 MB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.1494, allocations: 39.75 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.1524, allocations: 1.579 MB / 0.9096 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009204/0.1533, allocations: 0.5161 MB / 0.9101 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1538, allocations: 206.3 kB / 0.9103 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1549, allocations: 1.951 MB / 0.9122 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.1554, allocations: 0.5414 MB / 0.9127 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.1558, allocations: 0.6293 MB / 0.9134 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.1563, allocations: 0.7927 MB / 0.9141 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1564, allocations: 64 kB / 0.9142 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.1567, allocations: 179.8 kB / 0.9144 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.1569, allocations: 302.6 kB / 0.9147 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.1573, allocations: 0.7609 MB / 0.9154 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000959/0.1583, allocations: 2.008 MB / 0.9174 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1583, allocations: 0 / 0.9174 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1583, allocations: 0 / 0.9174 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.1583, allocations: 0 / 0.9174 GB, free: 46.27 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.001681/0.16, allocations: 1.876 MB / 0.9192 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.16, allocations: 11.97 kB / 0.9192 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.1601, allocations: 82.72 kB / 0.9193 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.1603, allocations: 198.4 kB / 0.9195 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.1617, allocations: 1.555 MB / 0.921 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1618, allocations: 29 kB / 0.921 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.1618, allocations: 35.98 kB / 0.921 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.1623, allocations: 450.3 kB / 0.9215 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1623, allocations: 0 / 0.9215 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.1624, allocations: 16 kB / 0.9215 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.1624, allocations: 20.98 kB / 0.9215 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.1629, allocations: 423.7 kB / 0.9219 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1649, allocations: 2.335 MB / 0.9242 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.1656, allocations: 0.4962 MB / 0.9247 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1659, allocations: 209.2 kB / 0.9249 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1659, allocations: 8.219 kB / 0.9249 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.1659, allocations: 34.84 kB / 0.9249 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.1659, allocations: 0 / 0.9249 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.0006526/0.1666, allocations: 0.6405 MB / 0.9255 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.1666, allocations: 59.34 kB / 0.9256 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.1687, allocations: 2.575 MB / 0.9281 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1687, allocations: 33.7 kB / 0.9282 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.1692, allocations: 0.7683 MB / 0.9289 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1693, allocations: 114.3 kB / 0.929 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1693, allocations: 29.7 kB / 0.929 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.1693, allocations: 318.5 kB / 0.9293 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1695, allocations: 143.8 kB / 0.9295 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1697, allocations: 181.5 kB / 0.9297 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.17, allocations: 329 kB / 0.93 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.17, allocations: 4.031 kB / 0.93 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004989/0.1705, allocations: 0.5223 MB / 0.9305 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1705, allocations: 7.984 kB / 0.9305 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1706, allocations: 0 / 0.9305 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1706, allocations: 4 kB / 0.9305 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.1708, allocations: 79.84 kB / 0.9306 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1709, allocations: 3.984 kB / 0.9306 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.1712, allocations: 31.69 kB / 0.9306 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1712, allocations: 8 kB / 0.9306 GB, free: 32.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004947/0.1717, allocations: 0.7003 MB / 0.9313 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.1718, allocations: 185.6 kB / 0.9315 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.172, allocations: 215.1 kB / 0.9317 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1721, allocations: 4 kB / 0.9317 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1721, allocations: 0 / 0.9317 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1721, allocations: 7.984 kB / 0.9317 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.1734, allocations: 1.574 MB / 0.9332 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1734, allocations: 4 kB / 0.9332 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.1737, allocations: 71.91 kB / 0.9333 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1737, allocations: 7.984 kB / 0.9333 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1737, allocations: 8 kB / 0.9333 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1737, allocations: 0 / 0.9333 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1737, allocations: 7.938 kB / 0.9333 GB, free: 29.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.1742, allocations: 0.6425 MB / 0.9339 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.1746, allocations: 378.4 kB / 0.9343 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.1747, allocations: 4 kB / 0.9343 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.1751, allocations: 11.98 kB / 0.9343 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1751, allocations: 23.92 kB / 0.9343 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1751, allocations: 12 kB / 0.9344 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001607/0.1767, allocations: 1.847 MB / 0.9362 GB, free: 26.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1767, allocations: 0 / 0.9362 GB, free: 26.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004674/0.1772, allocations: 227.8 kB / 0.9364 GB, free: 26.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008372/0.1781, allocations: 1.255 MB / 0.9376 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.1784, allocations: 320 kB / 0.9379 GB, free: 24.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1785, allocations: 4 kB / 0.9379 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1786, allocations: 175.7 kB / 0.9381 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.1806, allocations: 0.5889 MB / 0.9387 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.1989, allocations: 16.85 MB / 0.9551 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.1997, allocations: 1.754 MB / 0.9568 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006656/0.2004, allocations: 307 kB / 0.9571 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.2009, allocations: 0.5852 MB / 0.9577 GB, free: 3.496 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.2009, allocations: 0 / 0.9577 GB, free: 3.496 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.522/0.7229, allocations: 37.98 MB / 0.9948 GB, free: 14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/0.7232, allocations: 301.9 kB / 0.9951 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/3.756, allocations: 4 kB / 0.9951 GB, free: 13.62 MB / 0.6511 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)