Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_dev_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.009864/0.009864, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002007/0.002007, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.941/1.941, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.095/1.095, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.88 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5368, allocations: 81.02 MB / 0.6649 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.00364/0.5405, allocations: 2.178 MB / 0.667 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00364/0.5442, allocations: 1.323 MB / 0.6683 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/0.5446, allocations: 8.125 kB / 0.6683 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.5449, allocations: 43.8 kB / 0.6684 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.5453, allocations: 96.55 kB / 0.6685 GB, free: 3.934 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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.001507/0.5468, allocations: 343.4 kB / 0.6688 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.5484, allocations: 1.047 MB / 0.6698 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008316/0.5493, allocations: 498.2 kB / 0.6703 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000893/0.5502, allocations: 0.5041 MB / 0.6708 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.5513, allocations: 0.6803 MB / 0.6714 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003897/0.5517, allocations: 120.2 kB / 0.6716 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007227/0.5524, allocations: 277.8 kB / 0.6718 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.5528, allocations: 344.6 kB / 0.6721 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000791/0.5536, allocations: 0.5851 MB / 0.6727 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.5558, allocations: 1.672 MB / 0.6743 GB, free: 236 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5558, allocations: 0 / 0.6743 GB, free: 236 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5558, allocations: 0 / 0.6743 GB, free: 236 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.14e-05/0.5559, allocations: 1.469 kB / 0.6744 GB, free: 236 kB / 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.008358/0.5642, allocations: 2.348 MB / 0.6766 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.134e-05/0.5643, allocations: 18.36 kB / 0.6767 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.5645, allocations: 89.12 kB / 0.6767 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5661, allocations: 179.1 kB / 0.6769 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.5679, allocations: 0.7164 MB / 0.6776 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.568, allocations: 80.2 kB / 0.6777 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.5683, allocations: 63.31 kB / 0.6778 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.5702, allocations: 0.8721 MB / 0.6786 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.5703, allocations: 6.062 kB / 0.6786 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.5704, allocations: 18.56 kB / 0.6786 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.5704, allocations: 13.72 kB / 0.6786 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.5723, allocations: 0.7136 MB / 0.6793 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.5832, allocations: 4.79 MB / 0.684 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.5848, allocations: 0.7441 MB / 0.6847 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.586, allocations: 0.5847 MB / 0.6853 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.586, allocations: 7.844 kB / 0.6853 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.622e-05/0.5861, allocations: 68.08 kB / 0.6854 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 4.679e-06/0.5861, allocations: 1.312 kB / 0.6854 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.004389/0.5905, allocations: 1.263 MB / 0.6866 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004757/0.591, allocations: 0.5478 MB / 0.6872 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.5937, allocations: 1.232 MB / 0.6884 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005891/0.5943, allocations: 43.8 kB / 0.6884 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.5948, allocations: 313.8 kB / 0.6887 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.5951, allocations: 197.1 kB / 0.6889 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008321/0.596, allocations: 356.3 kB / 0.6892 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002719/0.5963, allocations: 343.5 kB / 0.6896 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/0.601, allocations: 2.613 MB / 0.6921 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.6052, allocations: 2.658 MB / 0.6947 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/0.6108, allocations: 3.648 MB / 0.6983 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.6109, allocations: 3.938 kB / 0.6983 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01062/0.6215, allocations: 6.065 MB / 0.7042 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008607/0.6224, allocations: 0.6613 MB / 0.7048 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.6224, allocations: 0 / 0.7048 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/0.6229, allocations: 104.8 kB / 0.7049 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6241, allocations: 171.8 kB / 0.7051 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.6271, allocations: 2.141 MB / 0.7072 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.63, allocations: 306.3 kB / 0.7075 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005778/0.6306, allocations: 79.95 kB / 0.7076 GB, free: 4.086 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.0009783/0.6316, allocations: 395 kB / 0.7079 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006217/0.6322, allocations: 95.34 kB / 0.708 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.6325, allocations: 100.2 kB / 0.7081 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.6325, allocations: 8 kB / 0.7081 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.6325, allocations: 8 kB / 0.7081 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.6325, allocations: 7.984 kB / 0.7081 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004755/0.6373, allocations: 3.405 MB / 0.7115 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.6374, allocations: 8 kB / 0.7115 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.6379, allocations: 91.83 kB / 0.7116 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/0.6383, allocations: 117.3 kB / 0.7117 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.6384, allocations: 20 kB / 0.7117 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.6411, allocations: 2.144 MB / 0.7138 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.6411, allocations: 11.94 kB / 0.7138 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.6433, allocations: 1.127 MB / 0.7149 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.6438, allocations: 204.3 kB / 0.7151 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6439, allocations: 27.98 kB / 0.7151 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.6445, allocations: 35.97 kB / 0.7152 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.6447, allocations: 71.69 kB / 0.7152 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.6448, allocations: 24 kB / 0.7153 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00139/0.6462, allocations: 0.7855 MB / 0.716 GB, free: 10.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6462, allocations: 4 kB / 0.716 GB, free: 10.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001726/0.6479, allocations: 339.9 kB / 0.7163 GB, free: 10.57 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.002711/0.6506, allocations: 1.742 MB / 0.718 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02536/0.676, allocations: 23.24 MB / 0.7407 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.028e-05/0.6761, allocations: 0 / 0.7407 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.6775, allocations: 0.4963 MB / 0.7412 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.679, allocations: 143.2 kB / 0.7414 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04411/0.7232, allocations: 26.38 MB / 0.7671 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.7243, allocations: 1.117 MB / 0.7682 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007924/0.7251, allocations: 232.5 kB / 0.7684 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.7257, allocations: 291.3 kB / 0.7687 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of SimCode: time 1.703e-06/0.7257, allocations: 0 / 0.7687 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08507/0.8108, allocations: 28.24 MB / 0.7963 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.42, allocations: 16.78 kB / 0.7963 GB, free: 8.5 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe 2>&1)