Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.ZoneLwGainDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution,fileNamePrefix="IDEAS_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.007087/0.007087, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001797/0.001797, allocations: 186.5 kB / 16.67 MB, free: 5.926 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8208/0.8208, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.03 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1486, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution): time 0.0034/0.152, allocations: 2.133 MB / 0.6613 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1538, allocations: 0.9492 MB / 0.6622 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1539, allocations: 7.938 kB / 0.6622 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1541, allocations: 31.7 kB / 0.6623 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1542, allocations: 59.42 kB / 0.6623 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.1548, allocations: 143.7 kB / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.1554, allocations: 491.5 kB / 0.6629 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.1558, allocations: 258.1 kB / 0.6632 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.1561, allocations: 207.4 kB / 0.6634 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.1566, allocations: 375.1 kB / 0.6637 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1568, allocations: 68 kB / 0.6638 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.157, allocations: 76 kB / 0.6639 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.1572, allocations: 199.5 kB / 0.664 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.1576, allocations: 278.8 kB / 0.6643 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008872/0.1584, allocations: 0.775 MB / 0.6651 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1585, allocations: 0 / 0.6651 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1585, allocations: 0 / 0.6651 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.1585, allocations: 0 / 0.6651 GB, free: 8.004 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.002411/0.1609, allocations: 0.9782 MB / 0.666 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.161, allocations: 8.031 kB / 0.666 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.551e-05/0.1611, allocations: 78.66 kB / 0.6661 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.1634, allocations: 240.3 kB / 0.6663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.164, allocations: 375.2 kB / 0.6667 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.164, allocations: 28.66 kB / 0.6667 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1641, allocations: 40 kB / 0.6668 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/0.1651, allocations: 0.5079 MB / 0.6673 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1652, allocations: 7.938 kB / 0.6673 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.1652, allocations: 16 kB / 0.6673 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1652, allocations: 8 kB / 0.6673 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1662, allocations: 424.3 kB / 0.6677 GB, free: 5.172 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.007711/0.174, allocations: 3.085 MB / 0.6707 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.1747, allocations: 374.2 kB / 0.6711 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.1753, allocations: 340.4 kB / 0.6714 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1753, allocations: 7.938 kB / 0.6714 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.1754, allocations: 46.5 kB / 0.6714 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 4.278e-06/0.1754, allocations: 0 / 0.6714 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.00176/0.1771, allocations: 0.6367 MB / 0.6721 GB, free: 416 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.1773, allocations: 302.6 kB / 0.6723 GB, free: 44 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.1778, allocations: 413.5 kB / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.1779, allocations: 37.7 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1781, allocations: 173.3 kB / 0.6729 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1782, allocations: 142.7 kB / 0.6731 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.1785, allocations: 134.2 kB / 0.6732 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1787, allocations: 358.7 kB / 0.6735 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.1806, allocations: 0.5945 MB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.1827, allocations: 0.6373 MB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.1854, allocations: 0.8581 MB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1855, allocations: 0 / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004386/0.1898, allocations: 1.338 MB / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.1899, allocations: 8 kB / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1899, allocations: 0 / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.19, allocations: 0 / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.1911, allocations: 151.8 kB / 0.677 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1911, allocations: 4 kB / 0.6771 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.1923, allocations: 143.3 kB / 0.6772 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.1924, allocations: 27.97 kB / 0.6772 GB, free: 11.02 MB / 0.5137 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.0003232/0.1928, allocations: 202.3 kB / 0.6774 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.193, allocations: 39.77 kB / 0.6774 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.1931, allocations: 55.12 kB / 0.6775 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.1931, allocations: 8 kB / 0.6775 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1932, allocations: 0.8125 kB / 0.6775 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.1932, allocations: 11.92 kB / 0.6775 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.1954, allocations: 1.703 MB / 0.6792 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.1954, allocations: 8 kB / 0.6792 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.1958, allocations: 87.97 kB / 0.6793 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.1959, allocations: 15.88 kB / 0.6793 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.1959, allocations: 20 kB / 0.6793 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.1959, allocations: 4 kB / 0.6793 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.1959, allocations: 11.94 kB / 0.6793 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1971, allocations: 0.6993 MB / 0.68 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1973, allocations: 148.6 kB / 0.6801 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.1973, allocations: 12 kB / 0.6802 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.1976, allocations: 27.97 kB / 0.6802 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1977, allocations: 47.78 kB / 0.6802 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.1978, allocations: 16 kB / 0.6802 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003168/0.1981, allocations: 291.1 kB / 0.6805 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1981, allocations: 0 / 0.6805 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005361/0.1987, allocations: 116 kB / 0.6806 GB, free: 7.258 MB / 0.5137 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.001513/0.2002, allocations: 1.265 MB / 0.6819 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.2029, allocations: 0.9755 MB / 0.6828 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2029, allocations: 0 / 0.6828 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.2035, allocations: 273 kB / 0.6831 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.2041, allocations: 57.53 kB / 0.6831 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.2184, allocations: 6.752 MB / 0.6897 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.219, allocations: 0.8423 MB / 0.6906 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004595/0.2194, allocations: 154.8 kB / 0.6907 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.2198, allocations: 127.4 kB / 0.6908 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.2198, allocations: 0 / 0.6908 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.2575, allocations: 11.89 MB / 0.7024 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/8.907, allocations: 21.11 kB / 0.7025 GB, free: 0.8203 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwGainDistribution.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwGainDistribution.pipe 2>&1)