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.005951/0.00595, allocations: 96.73 kB / 15.73 MB, free: 6.488 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.001471/0.001471, allocations: 191.3 kB / 16.67 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7717/0.7717, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001803, allocations: 72.34 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1465, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003574/0.1501, allocations: 2.188 MB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1525, allocations: 1.329 MB / 0.6627 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.1528, allocations: 8 kB / 0.6627 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.153, allocations: 39.64 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1532, allocations: 99.23 kB / 0.6628 GB, free: 10.31 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.001007/0.1543, allocations: 334.2 kB / 0.6631 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1554, allocations: 1.048 MB / 0.6641 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.156, allocations: 493.3 kB / 0.6646 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006807/0.1567, allocations: 0.5104 MB / 0.6651 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.1576, allocations: 0.6741 MB / 0.6658 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.1578, allocations: 120 kB / 0.6659 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.1583, allocations: 279.7 kB / 0.6661 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.1587, allocations: 331.1 kB / 0.6665 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006611/0.1593, allocations: 0.5871 MB / 0.667 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.161, allocations: 1.666 MB / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.161, allocations: 4 kB / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.161, allocations: 0 / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.161, 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.005508/0.1665, allocations: 2.358 MB / 0.671 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1666, allocations: 8.031 kB / 0.671 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.1667, allocations: 94.64 kB / 0.6711 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.1679, allocations: 180.1 kB / 0.6712 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.169, allocations: 0.7077 MB / 0.6719 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.1691, allocations: 77.11 kB / 0.672 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.1693, allocations: 63.98 kB / 0.6721 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1705, allocations: 0.8686 MB / 0.6729 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.1705, allocations: 7.938 kB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.1706, allocations: 20 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.1706, allocations: 20 kB / 0.673 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1718, allocations: 0.7201 MB / 0.6737 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006839/0.1786, allocations: 4.762 MB / 0.6783 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009253/0.1796, allocations: 0.75 MB / 0.679 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.1803, allocations: 0.5672 MB / 0.6796 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.1804, allocations: 16 kB / 0.6796 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.1804, allocations: 66.98 kB / 0.6797 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.1805, allocations: 0 / 0.6797 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003095/0.1836, allocations: 1.267 MB / 0.6809 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002784/0.1838, allocations: 0.5509 MB / 0.6815 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.1854, allocations: 1.218 MB / 0.6826 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/0.1856, allocations: 45.7 kB / 0.6827 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.1859, allocations: 313.8 kB / 0.683 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1861, allocations: 194.4 kB / 0.6832 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00059/0.1867, allocations: 358.4 kB / 0.6835 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1869, allocations: 345.9 kB / 0.6838 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/0.1901, allocations: 2.607 MB / 0.6864 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/0.1935, allocations: 2.645 MB / 0.689 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/0.198, allocations: 3.648 MB / 0.6925 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.198, allocations: 4 kB / 0.6925 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008165/0.2062, allocations: 6.057 MB / 0.6985 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.2069, allocations: 0.6613 MB / 0.6991 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2069, allocations: 0 / 0.6991 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.2073, allocations: 104.8 kB / 0.6992 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.2082, allocations: 179.8 kB / 0.6994 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.2106, allocations: 2.133 MB / 0.7015 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.2124, allocations: 318.2 kB / 0.7018 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.2126, allocations: 83.95 kB / 0.7018 GB, free: 1.199 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.0005689/0.2132, allocations: 386.7 kB / 0.7022 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.2136, allocations: 91.34 kB / 0.7023 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.2138, allocations: 104.2 kB / 0.7024 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2138, allocations: 8 kB / 0.7024 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2138, allocations: 8 kB / 0.7024 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2139, allocations: 7.984 kB / 0.7024 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.2176, allocations: 3.401 MB / 0.7057 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.2176, allocations: 12.06 kB / 0.7057 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.218, allocations: 87.83 kB / 0.7058 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/0.2184, allocations: 125 kB / 0.706 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.2185, allocations: 23.94 kB / 0.706 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.2206, allocations: 2.141 MB / 0.7081 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.2207, allocations: 15.88 kB / 0.7081 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.2223, allocations: 1.137 MB / 0.7092 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.2226, allocations: 212.3 kB / 0.7094 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/0.2227, allocations: 20 kB / 0.7094 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.2232, allocations: 35.95 kB / 0.7094 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.2233, allocations: 71.7 kB / 0.7095 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.2233, allocations: 24 kB / 0.7095 GB, free: 8.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009453/0.2243, allocations: 0.7776 MB / 0.7103 GB, free: 8.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2243, allocations: 4 kB / 0.7103 GB, free: 8.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009803/0.2253, allocations: 343.9 kB / 0.7106 GB, free: 7.691 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.002105/0.2274, allocations: 1.737 MB / 0.7123 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01899/0.2464, allocations: 23.24 MB / 0.735 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.2465, allocations: 0 / 0.735 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.2473, allocations: 0.4987 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.0008943/0.2482, allocations: 135.2 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.03267/0.2809, allocations: 26.3 MB / 0.7613 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.2817, allocations: 1.105 MB / 0.7624 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005697/0.2823, allocations: 240.5 kB / 0.7626 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.2827, allocations: 291.3 kB / 0.7629 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of SimCode: time 3.596e-06/0.2828, allocations: 0 / 0.7629 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6184/0.9011, allocations: 27.44 MB / 0.7897 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.02, allocations: 11.08 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 & /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)