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.005662/0.005662, allocations: 98.56 kB / 15.73 MB, free: 5.949 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.001435/0.001435, allocations: 196.5 kB / 16.68 MB, free: 5.871 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8382/0.8382, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.27 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1526, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003395/0.1561, allocations: 2.197 MB / 0.6613 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1584, allocations: 1.329 MB / 0.6626 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1586, allocations: 4 kB / 0.6627 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1588, allocations: 43.64 kB / 0.6627 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.159, allocations: 83.31 kB / 0.6628 GB, free: 7.066 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.0009481/0.16, allocations: 340.6 kB / 0.6631 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.1611, allocations: 1.048 MB / 0.6641 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006098/0.1617, allocations: 485.3 kB / 0.6646 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000686/0.1624, allocations: 0.5143 MB / 0.6651 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.1634, allocations: 0.6741 MB / 0.6657 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.1636, allocations: 116 kB / 0.6659 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.1641, allocations: 287.7 kB / 0.6661 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.1645, allocations: 331 kB / 0.6664 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006804/0.1651, allocations: 0.5911 MB / 0.667 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.1668, allocations: 1.666 MB / 0.6686 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1669, allocations: 0 / 0.6686 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1669, allocations: 0 / 0.6686 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.1669, allocations: 4 kB / 0.6687 GB, free: 1.02 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.005904/0.1728, allocations: 2.349 MB / 0.6709 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1729, allocations: 12.03 kB / 0.671 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.173, allocations: 90.64 kB / 0.671 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.1743, allocations: 188.1 kB / 0.6712 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1756, allocations: 0.7038 MB / 0.6719 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.1757, allocations: 77.11 kB / 0.672 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.1759, allocations: 68 kB / 0.6721 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.1773, allocations: 0.8733 MB / 0.6729 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1774, allocations: 3.938 kB / 0.6729 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.1774, allocations: 28 kB / 0.6729 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.1775, allocations: 12 kB / 0.6729 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.1788, allocations: 0.7162 MB / 0.6736 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007396/0.1862, allocations: 4.766 MB / 0.6783 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.1872, allocations: 0.7499 MB / 0.679 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000804/0.188, allocations: 0.5761 MB / 0.6796 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.1881, allocations: 12 kB / 0.6796 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.1881, allocations: 66.89 kB / 0.6797 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 5.761e-06/0.1881, allocations: 3.984 kB / 0.6797 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003258/0.1914, allocations: 1.266 MB / 0.6809 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002781/0.1917, allocations: 0.5427 MB / 0.6814 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.1933, allocations: 1.222 MB / 0.6826 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.1934, allocations: 45.7 kB / 0.6827 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.1938, allocations: 305.8 kB / 0.683 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.194, allocations: 198.4 kB / 0.6832 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006126/0.1946, allocations: 362.4 kB / 0.6835 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1947, allocations: 345.9 kB / 0.6838 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.1982, allocations: 2.611 MB / 0.6864 GB, free: 14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/0.2017, allocations: 2.637 MB / 0.689 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/0.2063, allocations: 3.656 MB / 0.6925 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.2064, allocations: 0 / 0.6925 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008744/0.2151, allocations: 6.065 MB / 0.6985 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007847/0.2159, allocations: 0.6593 MB / 0.6991 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.216, allocations: 0 / 0.6991 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.2165, allocations: 104.8 kB / 0.6992 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.2176, allocations: 175.8 kB / 0.6994 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.2203, allocations: 2.141 MB / 0.7015 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.2223, allocations: 314.2 kB / 0.7018 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.2226, allocations: 79.89 kB / 0.7018 GB, free: 13.95 MB / 0.545 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.0006412/0.2233, allocations: 390.3 kB / 0.7022 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.2237, allocations: 99.34 kB / 0.7023 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.2239, allocations: 96.2 kB / 0.7024 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2239, allocations: 8 kB / 0.7024 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.224, allocations: 8 kB / 0.7024 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.224, allocations: 7.984 kB / 0.7024 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/0.228, allocations: 3.405 MB / 0.7057 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.228, allocations: 8 kB / 0.7057 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.2284, allocations: 95.83 kB / 0.7058 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.2289, allocations: 116.9 kB / 0.7059 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.2289, allocations: 16 kB / 0.706 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.2313, allocations: 2.152 MB / 0.7081 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.2313, allocations: 15.94 kB / 0.7081 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.2331, allocations: 1.131 MB / 0.7092 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.2334, allocations: 204.3 kB / 0.7094 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2335, allocations: 23.98 kB / 0.7094 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.234, allocations: 39.97 kB / 0.7094 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.2342, allocations: 71.67 kB / 0.7095 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.2342, allocations: 24 kB / 0.7095 GB, free: 5.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001116/0.2354, allocations: 0.7854 MB / 0.7103 GB, free: 4.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2354, allocations: 4 kB / 0.7103 GB, free: 4.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00117/0.2366, allocations: 335.8 kB / 0.7106 GB, free: 4.438 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.002307/0.2389, allocations: 1.732 MB / 0.7123 GB, free: 2.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02041/0.2593, allocations: 23.24 MB / 0.735 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.2593, allocations: 4 kB / 0.735 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.2603, allocations: 0.4962 MB / 0.7355 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/0.2612, allocations: 139.4 kB / 0.7356 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3486/0.6098, allocations: 26.28 MB / 0.7613 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.6105, allocations: 1.109 MB / 0.7624 GB, free: 79.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006614/0.6112, allocations: 234.6 kB / 0.7626 GB, free: 79.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.6116, allocations: 291.1 kB / 0.7629 GB, free: 78.96 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6116, allocations: 3.969 kB / 0.7629 GB, free: 78.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05368/0.6653, allocations: 27.45 MB / 0.7897 GB, free: 59.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.24, allocations: 8.438 kB / 0.7897 GB, free: 59.3 MB / 0.5762 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)