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.005694/0.005699, allocations: 99.11 kB / 15.73 MB, free: 6.02 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.001396/0.001396, allocations: 201.5 kB / 16.68 MB, free: 5.953 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.327/1.327, 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/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.83 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3836, allocations: 80.2 MB / 0.6592 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003173/0.3868, allocations: 2.192 MB / 0.6613 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3889, allocations: 1.322 MB / 0.6626 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.3891, allocations: 4.906 kB / 0.6626 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.3893, allocations: 44.31 kB / 0.6627 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3895, allocations: 92.53 kB / 0.6628 GB, free: 7.324 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.001043/0.3906, allocations: 333 kB / 0.6631 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009849/0.3916, allocations: 1.056 MB / 0.6641 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.3921, allocations: 477.9 kB / 0.6646 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.3928, allocations: 0.5168 MB / 0.6651 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007837/0.3936, allocations: 0.6755 MB / 0.6657 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.3938, allocations: 119.1 kB / 0.6659 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.3943, allocations: 282.8 kB / 0.6661 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3946, allocations: 335.2 kB / 0.6664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006806/0.3953, allocations: 0.5928 MB / 0.667 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.3969, allocations: 1.661 MB / 0.6686 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.397, allocations: 1.688 kB / 0.6686 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.397, allocations: 0 / 0.6686 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.207e-05/0.397, allocations: 0 / 0.6686 GB, free: 3.766 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.005653/0.4027, allocations: 2.321 MB / 0.6709 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4028, allocations: 9.688 kB / 0.6709 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.4029, allocations: 93.92 kB / 0.671 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.4041, allocations: 175.3 kB / 0.6712 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.4054, allocations: 0.708 MB / 0.6719 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.4055, allocations: 75.25 kB / 0.6719 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.4057, allocations: 70.89 kB / 0.672 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4068, allocations: 0.8648 MB / 0.6729 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4068, allocations: 2.125 kB / 0.6729 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.4069, allocations: 17.78 kB / 0.6729 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4069, allocations: 14.12 kB / 0.6729 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.408, allocations: 0.7249 MB / 0.6736 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00676/0.4147, allocations: 4.773 MB / 0.6783 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.4156, allocations: 0.7418 MB / 0.679 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.4163, allocations: 0.5821 MB / 0.6795 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.4164, allocations: 15.61 kB / 0.6796 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.4164, allocations: 55.56 kB / 0.6796 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 4.098e-06/0.4164, allocations: 4 kB / 0.6796 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00306/0.4195, allocations: 1.264 MB / 0.6809 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/0.4197, allocations: 0.5407 MB / 0.6814 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.4213, allocations: 1.226 MB / 0.6826 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003163/0.4216, allocations: 43.98 kB / 0.6826 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.4219, allocations: 319.8 kB / 0.6829 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.4221, allocations: 181.8 kB / 0.6831 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000704/0.4228, allocations: 359.2 kB / 0.6834 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.423, allocations: 342.8 kB / 0.6838 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/0.4261, allocations: 2.611 MB / 0.6863 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.4294, allocations: 2.642 MB / 0.6889 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.4336, allocations: 3.647 MB / 0.6925 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4336, allocations: 0 / 0.6925 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00821/0.4419, allocations: 6.057 MB / 0.6984 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008491/0.4427, allocations: 0.6598 MB / 0.699 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4428, allocations: 0 / 0.699 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/0.4432, allocations: 104.7 kB / 0.6991 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4444, allocations: 175.8 kB / 0.6993 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.4466, allocations: 2.141 MB / 0.7014 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.4488, allocations: 301.6 kB / 0.7017 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.4491, allocations: 91.88 kB / 0.7018 GB, free: 9.516 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.0006106/0.4497, allocations: 389.5 kB / 0.7021 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/0.4502, allocations: 94.77 kB / 0.7022 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.4504, allocations: 96.2 kB / 0.7023 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.4504, allocations: 12 kB / 0.7023 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.4504, allocations: 8 kB / 0.7023 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.4504, allocations: 4 kB / 0.7023 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.4542, allocations: 3.393 MB / 0.7056 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.4542, allocations: 8 kB / 0.7056 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.4546, allocations: 91.83 kB / 0.7057 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.455, allocations: 117.4 kB / 0.7058 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.4551, allocations: 20 kB / 0.7059 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.4572, allocations: 2.149 MB / 0.708 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.4572, allocations: 11.98 kB / 0.708 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.459, allocations: 1.127 MB / 0.7091 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.4593, allocations: 203.7 kB / 0.7093 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4594, allocations: 24 kB / 0.7093 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.46, allocations: 39.95 kB / 0.7093 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4601, allocations: 63.77 kB / 0.7094 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.4601, allocations: 24 kB / 0.7094 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001095/0.4612, allocations: 0.7815 MB / 0.7102 GB, free: 380 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.623e-06/0.4613, allocations: 3.938 kB / 0.7102 GB, free: 376 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00172/0.463, allocations: 343.9 kB / 0.7105 GB, free: 32 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.002268/0.4653, allocations: 1.737 MB / 0.7122 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01695/0.4822, allocations: 23.23 MB / 0.7349 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.4823, allocations: 0 / 0.7349 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008743/0.4832, allocations: 0.5058 MB / 0.7354 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4842, allocations: 132.7 kB / 0.7355 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/0.5173, allocations: 26.27 MB / 0.7612 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.518, allocations: 1.117 MB / 0.7623 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006498/0.5187, allocations: 232.5 kB / 0.7625 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.5192, allocations: 295.3 kB / 0.7628 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of SimCode: time 9.61e-07/0.5192, allocations: 4 kB / 0.7628 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05386/0.5731, allocations: 27.97 MB / 0.7901 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.68, allocations: 7.938 kB / 0.7901 GB, free: 14.36 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)