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.001373/0.001373, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7171/0.7171, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 61.09 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3821, allocations: 80.21 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003356/0.3855, allocations: 2.18 MB / 0.5823 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.3877, allocations: 1.325 MB / 0.5836 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.3878, allocations: 4.375 kB / 0.5836 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.388, allocations: 48.12 kB / 0.5837 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.3882, allocations: 88.92 kB / 0.5838 GB, free: 2.059 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.0009082/0.3891, allocations: 339.2 kB / 0.5841 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009352/0.3901, allocations: 1.046 MB / 0.5851 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005475/0.3906, allocations: 490 kB / 0.5856 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.3913, allocations: 0.5055 MB / 0.5861 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000839/0.3921, allocations: 0.6792 MB / 0.5867 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.3924, allocations: 119.5 kB / 0.5869 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.393, allocations: 283.6 kB / 0.5871 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.3933, allocations: 334.1 kB / 0.5874 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.3939, allocations: 0.5914 MB / 0.588 GB, free: 256 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.3957, allocations: 1.636 MB / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3957, allocations: 0 / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3957, allocations: 1.094 kB / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.3957, allocations: 4 kB / 0.5896 GB, free: 15.71 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.005679/0.4014, allocations: 2.318 MB / 0.5919 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4014, allocations: 9.5 kB / 0.5919 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.4016, allocations: 90.89 kB / 0.592 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.4028, allocations: 182.3 kB / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4038, allocations: 0.6962 MB / 0.5928 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/0.4039, allocations: 72.45 kB / 0.5929 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.404, allocations: 70.69 kB / 0.593 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4052, allocations: 0.8695 MB / 0.5938 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4052, allocations: 6.562 kB / 0.5938 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.4053, allocations: 22.44 kB / 0.5939 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.4053, allocations: 13.12 kB / 0.5939 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.4064, allocations: 0.7216 MB / 0.5946 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006255/0.4127, allocations: 4.765 MB / 0.5992 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.4135, allocations: 0.7436 MB / 0.5999 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.4142, allocations: 0.5738 MB / 0.6005 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.4142, allocations: 12 kB / 0.6005 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4143, allocations: 64.42 kB / 0.6006 GB, free: 7.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.766e-06/0.4143, allocations: 7.938 kB / 0.6006 GB, free: 7.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.003206/0.4175, allocations: 1.269 MB / 0.6018 GB, free: 6.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.4177, allocations: 0.5446 MB / 0.6024 GB, free: 6.324 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.4192, allocations: 1.229 MB / 0.6036 GB, free: 5.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.4195, allocations: 43.77 kB / 0.6036 GB, free: 5.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.4198, allocations: 309.6 kB / 0.6039 GB, free: 5.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.4199, allocations: 184.9 kB / 0.6041 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005712/0.4205, allocations: 355.8 kB / 0.6044 GB, free: 5.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4206, allocations: 343.3 kB / 0.6047 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.4237, allocations: 2.609 MB / 0.6073 GB, free: 3.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/0.4269, allocations: 2.641 MB / 0.6099 GB, free: 2.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/0.4309, allocations: 3.648 MB / 0.6134 GB, free: 14.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4309, allocations: 4 kB / 0.6134 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007615/0.4386, allocations: 6.061 MB / 0.6194 GB, free: 8.508 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005901/0.4392, allocations: 0.6574 MB / 0.62 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4392, allocations: 0 / 0.62 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.4396, allocations: 100.8 kB / 0.6201 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/0.4406, allocations: 175.8 kB / 0.6203 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.4428, allocations: 2.152 MB / 0.6224 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.4449, allocations: 301.6 kB / 0.6226 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.4451, allocations: 87.92 kB / 0.6227 GB, free: 4.895 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.0006563/0.4458, allocations: 385.5 kB / 0.6231 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004565/0.4463, allocations: 98.7 kB / 0.6232 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.4464, allocations: 88.28 kB / 0.6233 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4465, allocations: 15.94 kB / 0.6233 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.4465, allocations: 8 kB / 0.6233 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4465, allocations: 7.984 kB / 0.6233 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.45, allocations: 3.389 MB / 0.6266 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.4501, allocations: 12.22 kB / 0.6266 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.4504, allocations: 91.83 kB / 0.6267 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.4508, allocations: 116.8 kB / 0.6268 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.4509, allocations: 16 kB / 0.6268 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.4529, allocations: 2.156 MB / 0.6289 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.4529, allocations: 11.94 kB / 0.629 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.4545, allocations: 1.126 MB / 0.6301 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.4549, allocations: 199.7 kB / 0.6303 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.4551, allocations: 28 kB / 0.6303 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.4558, allocations: 39.95 kB / 0.6303 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4559, allocations: 67.7 kB / 0.6304 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.4559, allocations: 24 kB / 0.6304 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.4572, allocations: 0.7815 MB / 0.6312 GB, free: 11.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4572, allocations: 0 / 0.6312 GB, free: 11.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001727/0.459, allocations: 339.8 kB / 0.6315 GB, free: 11.41 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.002226/0.4612, allocations: 1.733 MB / 0.6332 GB, free: 9.551 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0184/0.4796, allocations: 23.24 MB / 0.6559 GB, free: 2.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.4797, allocations: 4 kB / 0.6559 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4807, allocations: 0.4963 MB / 0.6564 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4822, allocations: 137.6 kB / 0.6565 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03695/0.5192, allocations: 26.42 MB / 0.6823 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.5199, allocations: 1.109 MB / 0.6834 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007189/0.5206, allocations: 236.5 kB / 0.6836 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/0.5212, allocations: 291.3 kB / 0.6839 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.5212, allocations: 0 / 0.6839 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.5791, allocations: 27.18 MB / 0.7104 GB, free: 10.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.58, allocations: 17.11 kB / 0.7104 GB, free: 10.36 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe 2>&1)