Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",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.0007364/0.0007364, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004077/0.004077, allocations: 172.1 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7006/0.7006, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 12 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3382, allocations: 81.56 MB / 0.5838 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.00202/0.3403, allocations: 1.894 MB / 0.5856 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.3424, allocations: 1.365 MB / 0.5869 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3426, allocations: 7.031 kB / 0.5869 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.3428, allocations: 35.38 kB / 0.587 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.3431, allocations: 80.3 kB / 0.5871 GB, free: 1.719 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:118:5-165:11:writable] Warning: In relation zonLwVieFac.lWall == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:139:11-163:17:writable] Warning: In relation zonLwVieFac.Atot[i] == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:139:11-163:17:writable] Warning: In relation zonLwVieFac.Atot[j] == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3442, allocations: 302.4 kB / 0.5873 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.3455, allocations: 0.9594 MB / 0.5883 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006683/0.3461, allocations: 433 kB / 0.5887 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.3469, allocations: 396.8 kB / 0.5891 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000981/0.3479, allocations: 0.5811 MB / 0.5896 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.3482, allocations: 51.44 kB / 0.5897 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.3487, allocations: 210.3 kB / 0.5899 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.349, allocations: 272.4 kB / 0.5902 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007885/0.3498, allocations: 0.5187 MB / 0.5907 GB, free: 236 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.3518, allocations: 1.56 MB / 0.5922 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3518, allocations: 0 / 0.5922 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3518, allocations: 1.469 kB / 0.5922 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.3518, allocations: 4 kB / 0.5922 GB, free: 15.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005928/0.3578, allocations: 2.271 MB / 0.5944 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3578, allocations: 13.59 kB / 0.5944 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/0.358, allocations: 93.36 kB / 0.5945 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.3594, allocations: 173.8 kB / 0.5947 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.3606, allocations: 0.699 MB / 0.5954 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.3607, allocations: 75.75 kB / 0.5954 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.3609, allocations: 67.38 kB / 0.5955 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.3622, allocations: 0.8734 MB / 0.5963 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3622, allocations: 2.812 kB / 0.5963 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.3623, allocations: 22.53 kB / 0.5964 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.3623, allocations: 12.91 kB / 0.5964 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3636, allocations: 0.7358 MB / 0.5971 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006541/0.3701, allocations: 4.85 MB / 0.6018 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.371, allocations: 0.7529 MB / 0.6026 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.3717, allocations: 0.5852 MB / 0.6031 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3717, allocations: 16.16 kB / 0.6032 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3718, allocations: 60.06 kB / 0.6032 GB, free: 7.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.484e-06/0.3718, allocations: 0 / 0.6032 GB, free: 7.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.002968/0.3747, allocations: 1.277 MB / 0.6045 GB, free: 7.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/0.375, allocations: 0.5518 MB / 0.605 GB, free: 6.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3766, allocations: 1.215 MB / 0.6062 GB, free: 5.672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.3767, allocations: 52.02 kB / 0.6062 GB, free: 5.625 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.3771, allocations: 312.4 kB / 0.6065 GB, free: 5.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.3772, allocations: 181.4 kB / 0.6067 GB, free: 5.203 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.3775, allocations: 205.5 kB / 0.6069 GB, free: 5.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3776, allocations: 350.9 kB / 0.6072 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/0.3809, allocations: 2.625 MB / 0.6098 GB, free: 3.656 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/0.3841, allocations: 2.649 MB / 0.6124 GB, free: 2.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/0.3882, allocations: 3.668 MB / 0.616 GB, free: 14.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3882, allocations: 0 / 0.616 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007398/0.3956, allocations: 6.08 MB / 0.6219 GB, free: 8.473 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005684/0.3962, allocations: 0.6593 MB / 0.6226 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3962, allocations: 4 kB / 0.6226 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004269/0.3967, allocations: 104.7 kB / 0.6227 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009246/0.3976, allocations: 183.8 kB / 0.6228 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.3997, allocations: 2.008 MB / 0.6248 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.4016, allocations: 321.5 kB / 0.6251 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.4018, allocations: 79.95 kB / 0.6252 GB, free: 4.988 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (zonLwVieFac.index2,zonLwVieFac.index1,zonLwDist.computeCarroll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005836/0.4024, allocations: 393.5 kB / 0.6256 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.4029, allocations: 94.78 kB / 0.6256 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.4031, allocations: 88.27 kB / 0.6257 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.4031, allocations: 15.94 kB / 0.6257 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4031, allocations: 4 kB / 0.6257 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4031, allocations: 11.92 kB / 0.6258 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.4066, allocations: 3.393 MB / 0.6291 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4066, allocations: 8 kB / 0.6291 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.407, allocations: 95.83 kB / 0.6292 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.4074, allocations: 117.2 kB / 0.6293 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.4074, allocations: 16 kB / 0.6293 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.4093, allocations: 2.007 MB / 0.6313 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.4093, allocations: 15.94 kB / 0.6313 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.4108, allocations: 1.142 MB / 0.6324 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.411, allocations: 203.8 kB / 0.6326 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.4111, allocations: 16 kB / 0.6326 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/0.4117, allocations: 51.8 kB / 0.6326 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4118, allocations: 59.77 kB / 0.6327 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.4118, allocations: 24 kB / 0.6327 GB, free: 12.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009155/0.4128, allocations: 0.7893 MB / 0.6335 GB, free: 11.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4128, allocations: 0 / 0.6335 GB, free: 11.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009733/0.4137, allocations: 343.9 kB / 0.6338 GB, free: 11.63 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001972/0.4157, allocations: 1.722 MB / 0.6355 GB, free: 9.777 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01624/0.432, allocations: 23.23 MB / 0.6582 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.432, allocations: 4 kB / 0.6582 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.4328, allocations: 0.5002 MB / 0.6587 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.435, allocations: 326.5 kB / 0.659 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/0.4674, allocations: 26.69 MB / 0.6851 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.4681, allocations: 1.115 MB / 0.6861 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005581/0.4687, allocations: 232.5 kB / 0.6864 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/0.4692, allocations: 327.3 kB / 0.6867 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.4692, allocations: 3.938 kB / 0.6867 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.028/2.498, allocations: 32.69 MB / 0.7186 GB, free: 4.621 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/2.498, allocations: 320 kB / 0.7189 GB, free: 4.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.382/8.88, allocations: 0 / 0.7189 GB, free: 4.234 MB / 0.545 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe 2>&1)