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.005181/0.005181, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001237/0.001237, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7069/0.7069, allocations: 132.2 MB / 422.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.61 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003277/0.1341, allocations: 2.191 MB / 0.6614 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1363, allocations: 1.329 MB / 0.6627 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.1365, allocations: 7.938 kB / 0.6627 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1367, allocations: 43.64 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.137, allocations: 91.31 kB / 0.6628 GB, free: 10.32 MB / 0.4981 GB [/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.001036/0.1381, allocations: 337.3 kB / 0.6631 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1391, allocations: 1.052 MB / 0.6641 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.1397, allocations: 481.3 kB / 0.6646 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006556/0.1403, allocations: 0.5143 MB / 0.6651 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008186/0.1412, allocations: 0.6741 MB / 0.6658 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.1414, allocations: 120 kB / 0.6659 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.1419, allocations: 283.6 kB / 0.6661 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.1422, allocations: 331 kB / 0.6665 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000634/0.1428, allocations: 0.5911 MB / 0.667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1442, allocations: 1.67 MB / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1442, allocations: 0 / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1442, allocations: 0 / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.1442, allocations: 0 / 0.6687 GB, free: 4.281 MB / 0.4981 GB 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.005227/0.1495, allocations: 2.347 MB / 0.671 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1495, allocations: 12.03 kB / 0.671 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.1496, allocations: 90.7 kB / 0.6711 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.1509, allocations: 184.1 kB / 0.6712 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.1521, allocations: 0.7077 MB / 0.6719 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/0.1522, allocations: 81.11 kB / 0.672 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1524, allocations: 72 kB / 0.6721 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1535, allocations: 0.8724 MB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1536, allocations: 0 / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.1536, allocations: 27.94 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1536, allocations: 12 kB / 0.673 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1547, allocations: 0.7162 MB / 0.6737 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006601/0.1614, allocations: 4.766 MB / 0.6783 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.1622, allocations: 0.746 MB / 0.679 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.1629, allocations: 0.5751 MB / 0.6796 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.1629, allocations: 11.94 kB / 0.6796 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.163, allocations: 62.98 kB / 0.6797 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.163, allocations: 0 / 0.6797 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002917/0.1659, allocations: 1.273 MB / 0.6809 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/0.1661, allocations: 0.5465 MB / 0.6815 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.1675, allocations: 1.223 MB / 0.6826 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.1677, allocations: 49.7 kB / 0.6827 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.168, allocations: 309.8 kB / 0.683 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.1681, allocations: 190.4 kB / 0.6832 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/0.1687, allocations: 366.4 kB / 0.6835 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1688, allocations: 345.9 kB / 0.6839 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.1718, allocations: 2.611 MB / 0.6864 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/0.1748, allocations: 2.637 MB / 0.689 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/0.1787, allocations: 3.644 MB / 0.6925 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.1788, allocations: 7.984 kB / 0.6925 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007442/0.1862, allocations: 6.069 MB / 0.6985 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005382/0.1868, allocations: 0.6554 MB / 0.6991 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1868, allocations: 0 / 0.6991 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004256/0.1872, allocations: 104.8 kB / 0.6992 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/0.1882, allocations: 175.8 kB / 0.6994 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.1903, allocations: 2.135 MB / 0.7015 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.1921, allocations: 314.2 kB / 0.7018 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.1923, allocations: 75.95 kB / 0.7018 GB, free: 1.215 MB / 0.5294 GB 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.0005294/0.1929, allocations: 394.3 kB / 0.7022 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004476/0.1933, allocations: 95.34 kB / 0.7023 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1935, allocations: 96.2 kB / 0.7024 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.1935, allocations: 12 kB / 0.7024 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1935, allocations: 4 kB / 0.7024 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1935, allocations: 7.984 kB / 0.7024 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.197, allocations: 3.413 MB / 0.7057 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.197, allocations: 8 kB / 0.7058 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.1974, allocations: 95.83 kB / 0.7058 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.1978, allocations: 117.4 kB / 0.706 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.1978, allocations: 16 kB / 0.706 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.1997, allocations: 2.148 MB / 0.7081 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.1998, allocations: 23.86 kB / 0.7081 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2013, allocations: 1.131 MB / 0.7092 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.2015, allocations: 204.3 kB / 0.7094 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.2016, allocations: 27.98 kB / 0.7094 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.2021, allocations: 39.97 kB / 0.7095 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.2023, allocations: 67.69 kB / 0.7095 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.2023, allocations: 24 kB / 0.7095 GB, free: 8.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009631/0.2033, allocations: 0.7854 MB / 0.7103 GB, free: 8.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2033, allocations: 0 / 0.7103 GB, free: 8.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001001/0.2043, allocations: 335.8 kB / 0.7106 GB, free: 7.695 MB / 0.545 GB 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.001927/0.2062, allocations: 1.743 MB / 0.7123 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01594/0.2222, allocations: 23.23 MB / 0.735 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.2223, allocations: 8 kB / 0.735 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.223, allocations: 496.3 kB / 0.7355 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.2239, allocations: 131.6 kB / 0.7356 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/0.2539, allocations: 26.31 MB / 0.7613 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.2546, allocations: 1.117 MB / 0.7624 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005571/0.2552, allocations: 228.5 kB / 0.7626 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.2556, allocations: 291.3 kB / 0.7629 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.2556, allocations: 0 / 0.7629 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04993/0.3056, allocations: 27.45 MB / 0.7897 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.6, allocations: 3.109 kB / 0.7897 GB, free: 6.523 MB / 0.6231 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)