Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.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.ZoneLwGainDistribution,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution",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.001386/0.001387, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 193.9 kB / 16.53 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.714/1.714, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.119/1.119, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 63.81 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1701, allocations: 80.93 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution): time 0.003629/0.1738, allocations: 2.113 MB / 0.5866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1756, allocations: 0.935 MB / 0.5875 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.1758, allocations: 4 kB / 0.5875 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.176, allocations: 35.7 kB / 0.5875 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.1763, allocations: 59.42 kB / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.1769, allocations: 139.7 kB / 0.5877 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.1776, allocations: 487.5 kB / 0.5882 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.178, allocations: 266 kB / 0.5884 GB, free: 384 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.1784, allocations: 207.4 kB / 0.5886 GB, free: 176 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.179, allocations: 375.1 kB / 0.589 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.1792, allocations: 68 kB / 0.589 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1794, allocations: 75.98 kB / 0.5891 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.1796, allocations: 199.5 kB / 0.5893 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.18, allocations: 278.8 kB / 0.5896 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.1807, allocations: 0.752 MB / 0.5903 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1807, allocations: 0 / 0.5903 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.885e-06/0.1807, allocations: 4 kB / 0.5903 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.1808, allocations: 0 / 0.5903 GB, free: 14.44 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002495/0.1833, allocations: 0.9709 MB / 0.5913 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1833, allocations: 12.03 kB / 0.5913 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1834, allocations: 70.72 kB / 0.5913 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.1856, allocations: 228.1 kB / 0.5916 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.1862, allocations: 379.2 kB / 0.5919 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.1862, allocations: 36.59 kB / 0.592 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1863, allocations: 40 kB / 0.592 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009138/0.1873, allocations: 0.5102 MB / 0.5925 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1873, allocations: 7.938 kB / 0.5925 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.1873, allocations: 12 kB / 0.5925 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1873, allocations: 11.94 kB / 0.5925 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000928/0.1883, allocations: 428.3 kB / 0.5929 GB, free: 11.61 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007271/0.1956, allocations: 3.081 MB / 0.5959 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.1962, allocations: 370.2 kB / 0.5963 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.1968, allocations: 336.4 kB / 0.5966 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.1968, allocations: 11.94 kB / 0.5966 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.1969, allocations: 54.44 kB / 0.5967 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.926e-06/0.1969, allocations: 0 / 0.5967 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001754/0.1987, allocations: 0.6304 MB / 0.5973 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1988, allocations: 298.7 kB / 0.5976 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.1992, allocations: 413.5 kB / 0.598 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.1994, allocations: 37.97 kB / 0.598 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.1996, allocations: 181 kB / 0.5982 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1997, allocations: 126.2 kB / 0.5983 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.2, allocations: 138.2 kB / 0.5984 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2002, allocations: 358.7 kB / 0.5988 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.2019, allocations: 0.5905 MB / 0.5993 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.2037, allocations: 0.6412 MB / 0.6 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.2061, allocations: 0.8581 MB / 0.6008 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2061, allocations: 0 / 0.6008 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003737/0.2099, allocations: 1.338 MB / 0.6021 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2099, allocations: 4 kB / 0.6021 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2099, allocations: 0 / 0.6021 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.21, allocations: 4 kB / 0.6021 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.211, allocations: 155.8 kB / 0.6023 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.211, allocations: 4 kB / 0.6023 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.2121, allocations: 127.2 kB / 0.6024 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.2122, allocations: 35.91 kB / 0.6024 GB, free: 1.469 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (60): * Single equations (assignments): 59 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.2125, allocations: 201.7 kB / 0.6026 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.2128, allocations: 43.44 kB / 0.6027 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.2129, allocations: 55.12 kB / 0.6027 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2129, allocations: 4 kB / 0.6027 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.2129, allocations: 7.938 kB / 0.6027 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2129, allocations: 7.984 kB / 0.6027 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3275/0.5404, allocations: 1.697 MB / 0.6044 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.5405, allocations: 4.031 kB / 0.6044 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.5409, allocations: 91.44 kB / 0.6045 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.541, allocations: 9.359 kB / 0.6045 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.541, allocations: 22.56 kB / 0.6045 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.541, allocations: 12.34 kB / 0.6045 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.541, allocations: 6.219 kB / 0.6045 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.542, allocations: 0.7007 MB / 0.6052 GB, free: 51.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.5421, allocations: 134 kB / 0.6053 GB, free: 51.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.5422, allocations: 18.56 kB / 0.6054 GB, free: 51.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.5424, allocations: 27.38 kB / 0.6054 GB, free: 51.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.5425, allocations: 46.77 kB / 0.6054 GB, free: 51.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.5425, allocations: 19.66 kB / 0.6055 GB, free: 51.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002229/0.5428, allocations: 285.6 kB / 0.6057 GB, free: 51.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5428, allocations: 2.812 kB / 0.6057 GB, free: 51.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005567/0.5433, allocations: 120.8 kB / 0.6058 GB, free: 51.35 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/0.5444, allocations: 1.252 MB / 0.6071 GB, free: 50.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.5468, allocations: 0.9889 MB / 0.608 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5468, allocations: 0 / 0.608 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.5473, allocations: 265.9 kB / 0.6083 GB, free: 50.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.5478, allocations: 66.28 kB / 0.6083 GB, free: 50.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.5604, allocations: 6.792 MB / 0.615 GB, free: 46.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5609, allocations: 0.8376 MB / 0.6158 GB, free: 46.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004924/0.5614, allocations: 148.1 kB / 0.6159 GB, free: 46.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.5617, allocations: 134.7 kB / 0.6161 GB, free: 46 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.5617, allocations: 0 / 0.6161 GB, free: 46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.5924, allocations: 11.76 MB / 0.6276 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.75, allocations: 17.42 kB / 0.6276 GB, free: 45.15 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe 2>&1)