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.004932/0.004932, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001234/0.001234, allocations: 193.5 kB / 16.67 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.219/1.219, 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.6974/0.6974, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.91 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3617, allocations: 80.2 MB / 0.6592 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.002619/0.3644, allocations: 2.185 MB / 0.6613 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3661, allocations: 1.322 MB / 0.6626 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3663, allocations: 7.906 kB / 0.6626 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3664, allocations: 44.22 kB / 0.6627 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.3666, allocations: 90.11 kB / 0.6628 GB, free: 7.43 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.0007508/0.3674, allocations: 337.3 kB / 0.6631 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007236/0.3681, allocations: 1.055 MB / 0.6641 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.3685, allocations: 483.7 kB / 0.6646 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.369, allocations: 0.5117 MB / 0.6651 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.3696, allocations: 0.68 MB / 0.6657 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.3698, allocations: 119.3 kB / 0.6659 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.3702, allocations: 277.9 kB / 0.6661 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.3704, allocations: 340.1 kB / 0.6664 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.3709, allocations: 0.5849 MB / 0.667 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3719, allocations: 1.662 MB / 0.6686 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3719, allocations: 0 / 0.6686 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3719, allocations: 4 kB / 0.6686 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.372, allocations: 5.438 kB / 0.6687 GB, free: 3.801 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.004479/0.3764, allocations: 2.317 MB / 0.6709 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3765, allocations: 8.719 kB / 0.6709 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.013e-05/0.3766, allocations: 94.02 kB / 0.671 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.3777, allocations: 174.3 kB / 0.6712 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.3786, allocations: 0.7079 MB / 0.6719 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.3787, allocations: 75.98 kB / 0.6719 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3789, allocations: 63.66 kB / 0.672 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/0.3799, allocations: 0.8686 MB / 0.6729 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3799, allocations: 5.219 kB / 0.6729 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.3799, allocations: 22.59 kB / 0.6729 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.38, allocations: 13.59 kB / 0.6729 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.3809, allocations: 0.7175 MB / 0.6736 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.3866, allocations: 4.777 MB / 0.6783 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.3874, allocations: 0.7503 MB / 0.679 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/0.3881, allocations: 0.5733 MB / 0.6796 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.3881, allocations: 11.41 kB / 0.6796 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.3881, allocations: 64.06 kB / 0.6796 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.3882, allocations: 224 / 0.6796 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002663/0.3908, allocations: 1.26 MB / 0.6809 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/0.391, allocations: 0.5526 MB / 0.6814 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.3924, allocations: 1.213 MB / 0.6826 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.3925, allocations: 44.92 kB / 0.6826 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.3928, allocations: 324.2 kB / 0.6829 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.393, allocations: 181.8 kB / 0.6831 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/0.3936, allocations: 359.6 kB / 0.6834 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3937, allocations: 338.8 kB / 0.6838 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/0.3968, allocations: 2.61 MB / 0.6863 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.3998, allocations: 2.646 MB / 0.6889 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/0.4035, allocations: 3.647 MB / 0.6925 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.4035, allocations: 4 kB / 0.6925 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006823/0.4104, allocations: 6.061 MB / 0.6984 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00053/0.4109, allocations: 0.6574 MB / 0.699 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4109, allocations: 3.984 kB / 0.699 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.4114, allocations: 108.8 kB / 0.6991 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.4122, allocations: 163.8 kB / 0.6993 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.4144, allocations: 2.147 MB / 0.7014 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.4165, allocations: 301.6 kB / 0.7017 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.4168, allocations: 79.95 kB / 0.7018 GB, free: 9.527 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.0005936/0.4174, allocations: 398.5 kB / 0.7021 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.4178, allocations: 86.78 kB / 0.7022 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.418, allocations: 96.2 kB / 0.7023 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.418, allocations: 8 kB / 0.7023 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.418, allocations: 8 kB / 0.7023 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.418, allocations: 4 kB / 0.7023 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.4213, allocations: 3.397 MB / 0.7056 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.4213, allocations: 8 kB / 0.7056 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.4216, allocations: 95.81 kB / 0.7057 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003634/0.422, allocations: 117.1 kB / 0.7059 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.4221, allocations: 20 kB / 0.7059 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.4239, allocations: 2.152 MB / 0.708 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.4239, allocations: 11.94 kB / 0.708 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.4253, allocations: 1.133 MB / 0.7091 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.4255, allocations: 199.7 kB / 0.7093 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.4256, allocations: 19.98 kB / 0.7093 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.4261, allocations: 43.97 kB / 0.7093 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4262, allocations: 67.64 kB / 0.7094 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.4263, allocations: 24 kB / 0.7094 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008811/0.4271, allocations: 0.7854 MB / 0.7102 GB, free: 376 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4271, allocations: 0 / 0.7102 GB, free: 376 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001034/0.4282, allocations: 340 kB / 0.7105 GB, free: 36 kB / 0.5294 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.001831/0.43, allocations: 1.74 MB / 0.7122 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01498/0.445, allocations: 23.23 MB / 0.7349 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.4451, allocations: 4 kB / 0.7349 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.4458, allocations: 0.5022 MB / 0.7354 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.4467, allocations: 137.8 kB / 0.7355 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02916/0.4759, allocations: 26.26 MB / 0.7612 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.4765, allocations: 1.109 MB / 0.7623 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005131/0.477, allocations: 236.5 kB / 0.7625 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.4774, allocations: 287.3 kB / 0.7628 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.4775, allocations: 0 / 0.7628 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/0.527, allocations: 27.45 MB / 0.7896 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.58, allocations: 4.375 kB / 0.7896 GB, free: 14.91 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)