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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 218.5 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.366/1.366, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8078/0.8078, allocations: 134 MB / 446.4 MB, free: 10.28 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 62.22 kB / 0.6186 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 85.91 MB / 0.7025 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003469/0.1572, allocations: 2.224 MB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1596, allocations: 1.376 MB / 0.706 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1597, allocations: 7.938 kB / 0.706 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.1599, allocations: 51.56 kB / 0.706 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.1601, allocations: 91.3 kB / 0.7061 GB, free: 13.61 MB / 0.5294 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.0009708/0.161, allocations: 358.3 kB / 0.7065 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.1622, allocations: 1.037 MB / 0.7075 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.1626, allocations: 293.9 kB / 0.7078 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.1634, allocations: 0.5338 MB / 0.7083 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.1643, allocations: 0.6936 MB / 0.709 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.1645, allocations: 120 kB / 0.7091 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.165, allocations: 283.7 kB / 0.7093 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.1653, allocations: 343 kB / 0.7097 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006323/0.166, allocations: 0.5832 MB / 0.7102 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1676, allocations: 1.666 MB / 0.7119 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1676, allocations: 0 / 0.7119 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1676, allocations: 0 / 0.7119 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.483e-05/0.1677, allocations: 3.938 kB / 0.7119 GB, free: 7.711 MB / 0.5294 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.005677/0.1733, allocations: 2.283 MB / 0.7141 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1734, allocations: 12.03 kB / 0.7141 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.1735, allocations: 86.7 kB / 0.7142 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.1747, allocations: 180.1 kB / 0.7144 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.176, allocations: 0.659 MB / 0.715 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.1761, allocations: 77.11 kB / 0.7151 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.1762, allocations: 68 kB / 0.7151 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.1775, allocations: 0.8606 MB / 0.716 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1775, allocations: 3.938 kB / 0.716 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.1776, allocations: 20 kB / 0.716 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.1776, allocations: 15.98 kB / 0.716 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1788, allocations: 0.7276 MB / 0.7167 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007558/0.1864, allocations: 4.743 MB / 0.7214 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/0.1873, allocations: 0.7217 MB / 0.7221 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007316/0.188, allocations: 0.536 MB / 0.7226 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.1881, allocations: 11.98 kB / 0.7226 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.1881, allocations: 63.25 kB / 0.7227 GB, free: 12.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.574e-06/0.1881, allocations: 0 / 0.7227 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.003038/0.1912, allocations: 1.192 MB / 0.7238 GB, free: 10.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002853/0.1914, allocations: 0.547 MB / 0.7244 GB, free: 10.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.1929, allocations: 1.222 MB / 0.7256 GB, free: 8.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.1931, allocations: 45.7 kB / 0.7256 GB, free: 8.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.1934, allocations: 321.8 kB / 0.7259 GB, free: 8.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.1936, allocations: 194.4 kB / 0.7261 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005589/0.1941, allocations: 350.5 kB / 0.7264 GB, free: 7.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1943, allocations: 341.9 kB / 0.7267 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/0.1975, allocations: 2.615 MB / 0.7293 GB, free: 5.031 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/0.2008, allocations: 2.645 MB / 0.7319 GB, free: 2.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.2052, allocations: 3.648 MB / 0.7354 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.2052, allocations: 0 / 0.7354 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008154/0.2134, allocations: 6.061 MB / 0.7414 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007215/0.2141, allocations: 0.6574 MB / 0.742 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2141, allocations: 3.984 kB / 0.742 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004578/0.2146, allocations: 100.8 kB / 0.7421 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.2155, allocations: 175.8 kB / 0.7423 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.2179, allocations: 2.036 MB / 0.7443 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.2199, allocations: 314.2 kB / 0.7446 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/0.2202, allocations: 87.89 kB / 0.7446 GB, free: 5.125 MB / 0.5606 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.0006259/0.2208, allocations: 387.4 kB / 0.745 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/0.2213, allocations: 95.34 kB / 0.7451 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.2215, allocations: 104.1 kB / 0.7452 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2215, allocations: 8 kB / 0.7452 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2215, allocations: 8 kB / 0.7452 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2215, allocations: 7.984 kB / 0.7452 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/0.2255, allocations: 3.366 MB / 0.7485 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.2256, allocations: 8 kB / 0.7485 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.226, allocations: 95.83 kB / 0.7486 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.2263, allocations: 121.4 kB / 0.7487 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.2264, allocations: 16 kB / 0.7487 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3003/0.5267, allocations: 2.04 MB / 0.7507 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.5267, allocations: 15.75 kB / 0.7508 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.5284, allocations: 1.126 MB / 0.7519 GB, free: 43.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.5287, allocations: 133 kB / 0.752 GB, free: 43.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.5288, allocations: 21 kB / 0.752 GB, free: 43.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.5293, allocations: 36.92 kB / 0.752 GB, free: 43.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.5295, allocations: 68.98 kB / 0.7521 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.5295, allocations: 27.12 kB / 0.7521 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001087/0.5306, allocations: 0.7852 MB / 0.7529 GB, free: 43.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5306, allocations: 0 / 0.7529 GB, free: 43.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001033/0.5316, allocations: 336 kB / 0.7532 GB, free: 43.62 MB / 0.5606 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.0017/0.5333, allocations: 1.72 MB / 0.7549 GB, free: 42.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007862/0.5412, allocations: 6.753 MB / 0.7615 GB, free: 40.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.5412, allocations: 1.594 kB / 0.7615 GB, free: 40.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.542, allocations: 499.5 kB / 0.762 GB, free: 40.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.5429, allocations: 132.4 kB / 0.7621 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/0.5719, allocations: 26.33 MB / 0.7878 GB, free: 26.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.5724, allocations: 1.117 MB / 0.7889 GB, free: 24.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005506/0.5729, allocations: 230.2 kB / 0.7891 GB, free: 24.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.5733, allocations: 299.3 kB / 0.7894 GB, free: 24.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.633e-06/0.5733, allocations: 0 / 0.7894 GB, free: 24.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07824/0.6515, allocations: 27.84 MB / 0.8166 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.64, allocations: 3.984 kB / 0.8166 GB, free: 12.93 MB / 0.5762 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.117043608996028] Failed to read output from testmodel.py, exit status != 0: 14.772345062003296 14.79683842 14.624708175 Calling exit ...