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.0102/0.0102, allocations: 97.17 kB / 15.73 MB, free: 6.062 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.002024/0.002024, allocations: 196.3 kB / 16.68 MB, free: 5.98 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7497/0.7497, allocations: 132.2 MB / 422.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 60.09 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1535, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003158/0.1567, allocations: 2.194 MB / 0.6613 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.159, allocations: 1.325 MB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1592, allocations: 4 kB / 0.6626 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1594, allocations: 51.56 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1597, allocations: 91.33 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.001016/0.1607, allocations: 333.4 kB / 0.6631 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1618, allocations: 1.056 MB / 0.6641 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.1624, allocations: 481.3 kB / 0.6646 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007192/0.1631, allocations: 0.5143 MB / 0.6651 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008947/0.164, allocations: 0.6741 MB / 0.6658 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.1643, allocations: 120 kB / 0.6659 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.1648, allocations: 287.6 kB / 0.6661 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.1652, allocations: 335 kB / 0.6665 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008123/0.166, allocations: 0.5872 MB / 0.667 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.1676, allocations: 1.67 MB / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1677, allocations: 0 / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1677, allocations: 0 / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.1677, allocations: 0 / 0.6687 GB, free: 4.277 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.005529/0.1733, allocations: 2.354 MB / 0.671 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1733, allocations: 12.03 kB / 0.671 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.1734, allocations: 86.7 kB / 0.6711 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.1748, allocations: 180.1 kB / 0.6712 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.1761, allocations: 0.7077 MB / 0.6719 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/0.1762, allocations: 77.11 kB / 0.672 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.1764, allocations: 68 kB / 0.6721 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1777, allocations: 0.8652 MB / 0.6729 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1777, allocations: 4 kB / 0.6729 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.1778, allocations: 24 kB / 0.6729 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1778, allocations: 12 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.179, allocations: 0.724 MB / 0.6737 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00712/0.1861, allocations: 4.766 MB / 0.6783 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.187, allocations: 0.7518 MB / 0.679 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.1878, allocations: 0.5775 MB / 0.6796 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.1878, allocations: 15.94 kB / 0.6796 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.1879, allocations: 59.06 kB / 0.6797 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 4.99e-06/0.1879, allocations: 0 / 0.6797 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003178/0.1911, allocations: 1.265 MB / 0.6809 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.1913, allocations: 0.5508 MB / 0.6814 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.1929, allocations: 1.218 MB / 0.6826 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.1931, allocations: 41.7 kB / 0.6827 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.1935, allocations: 321.8 kB / 0.683 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.1937, allocations: 194.3 kB / 0.6832 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000683/0.1944, allocations: 358.5 kB / 0.6835 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1945, allocations: 349.9 kB / 0.6838 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.1976, allocations: 2.607 MB / 0.6864 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/0.2009, allocations: 2.649 MB / 0.689 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004514/0.2055, allocations: 3.644 MB / 0.6925 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2055, allocations: 0 / 0.6925 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008061/0.2136, allocations: 6.065 MB / 0.6985 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005587/0.2142, allocations: 0.6555 MB / 0.6991 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2142, allocations: 3.984 kB / 0.6991 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.2146, allocations: 100.8 kB / 0.6992 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/0.2156, allocations: 175.8 kB / 0.6994 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.2179, allocations: 2.148 MB / 0.7015 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.2198, allocations: 310.1 kB / 0.7018 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/0.2201, allocations: 83.89 kB / 0.7018 GB, free: 1.203 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.0006963/0.2208, allocations: 389.6 kB / 0.7022 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.2214, allocations: 95.34 kB / 0.7023 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.2216, allocations: 96.2 kB / 0.7024 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.2216, allocations: 8 kB / 0.7024 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.2217, allocations: 8 kB / 0.7024 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2217, allocations: 8 kB / 0.7024 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/0.2258, allocations: 3.404 MB / 0.7057 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.2259, allocations: 8.969 kB / 0.7058 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.2263, allocations: 99.75 kB / 0.7058 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.2267, allocations: 116.8 kB / 0.706 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.2268, allocations: 16 kB / 0.706 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.229, allocations: 2.152 MB / 0.7081 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.229, allocations: 8 kB / 0.7081 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.2307, allocations: 1.139 MB / 0.7092 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.231, allocations: 208.2 kB / 0.7094 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2311, allocations: 23.98 kB / 0.7094 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/0.2317, allocations: 39.97 kB / 0.7095 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.2318, allocations: 59.77 kB / 0.7095 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.2318, allocations: 24 kB / 0.7095 GB, free: 8.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009972/0.2328, allocations: 0.7854 MB / 0.7103 GB, free: 8.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.645e-06/0.2329, allocations: 0 / 0.7103 GB, free: 8.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001041/0.2339, allocations: 343.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.002042/0.2359, allocations: 1.743 MB / 0.7123 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01619/0.2522, 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.049e-05/0.2522, allocations: 4 kB / 0.735 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.253, allocations: 0.4958 MB / 0.7355 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.2542, allocations: 136.1 kB / 0.7356 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/0.2881, allocations: 26.31 MB / 0.7613 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/0.2889, allocations: 1.101 MB / 0.7624 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006584/0.2896, allocations: 236.5 kB / 0.7626 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.2901, allocations: 291.3 kB / 0.7629 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.2902, allocations: 0 / 0.7629 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05509/0.3453, allocations: 27.44 MB / 0.7897 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/13.95, allocations: 14.19 kB / 0.7897 GB, free: 6.52 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)