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.001307/0.001307, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001459/0.001459, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.386/1.386, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8586/0.8586, allocations: 133.9 MB / 443.5 MB, free: 13.87 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",fmuType="cs",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.001972/0.001972, allocations: 64.59 kB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.155, allocations: 85.86 MB / 0.698 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.003749/0.1588, allocations: 2.21 MB / 0.7001 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1614, allocations: 1.362 MB / 0.7015 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.1616, allocations: 8.188 kB / 0.7015 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1618, allocations: 43.5 kB / 0.7015 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.162, allocations: 98.73 kB / 0.7016 GB, free: 10.81 MB / 0.5137 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.001115/0.1631, allocations: 343.4 kB / 0.7019 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.1643, allocations: 1.017 MB / 0.7029 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.1648, allocations: 393.2 kB / 0.7033 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000855/0.1657, allocations: 0.526 MB / 0.7038 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.1666, allocations: 0.6819 MB / 0.7045 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.1668, allocations: 120 kB / 0.7046 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.1673, allocations: 283.7 kB / 0.7049 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.1677, allocations: 347 kB / 0.7052 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006938/0.1684, allocations: 0.5832 MB / 0.7058 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.1702, allocations: 1.668 MB / 0.7074 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1702, allocations: 0 / 0.7074 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1702, allocations: 0 / 0.7074 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.383e-05/0.1702, allocations: 0 / 0.7074 GB, free: 5.262 MB / 0.5137 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.005801/0.176, allocations: 2.358 MB / 0.7097 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1761, allocations: 13.69 kB / 0.7097 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.189e-05/0.1761, allocations: 17.19 kB / 0.7097 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.1762, allocations: 90.66 kB / 0.7098 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.1775, allocations: 180.1 kB / 0.71 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.1787, allocations: 0.7077 MB / 0.7107 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.1788, allocations: 76.86 kB / 0.7107 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.179, allocations: 64 kB / 0.7108 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1803, allocations: 0.8647 MB / 0.7116 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1804, allocations: 3.938 kB / 0.7117 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.1804, allocations: 28 kB / 0.7117 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1804, allocations: 16 kB / 0.7117 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.1817, allocations: 0.7162 MB / 0.7124 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007517/0.1892, allocations: 4.785 MB / 0.7171 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1902, allocations: 0.7148 MB / 0.7178 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.191, allocations: 0.536 MB / 0.7183 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.191, allocations: 12 kB / 0.7183 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.1911, allocations: 63.3 kB / 0.7184 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 3.737e-06/0.1911, allocations: 4 kB / 0.7184 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.003254/0.1943, allocations: 1.263 MB / 0.7196 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003232/0.1947, allocations: 0.5505 MB / 0.7201 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.1963, allocations: 1.222 MB / 0.7213 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.1965, allocations: 45.7 kB / 0.7214 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.1968, allocations: 309.9 kB / 0.7217 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.1971, allocations: 198.4 kB / 0.7219 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006163/0.1977, allocations: 358.5 kB / 0.7222 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1979, allocations: 341.9 kB / 0.7225 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/0.2014, allocations: 2.611 MB / 0.7251 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/0.2051, allocations: 2.638 MB / 0.7276 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004969/0.2101, allocations: 3.656 MB / 0.7312 GB, free: 11.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.2101, allocations: 0 / 0.7312 GB, free: 11.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008758/0.2189, allocations: 6.053 MB / 0.7371 GB, free: 5.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007187/0.2196, allocations: 0.6626 MB / 0.7378 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2196, allocations: 0 / 0.7378 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/0.2201, allocations: 108.8 kB / 0.7379 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/0.221, allocations: 175.8 kB / 0.738 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.2238, allocations: 2.148 MB / 0.7401 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.2259, allocations: 310.3 kB / 0.7404 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/0.2262, allocations: 79.95 kB / 0.7405 GB, free: 2.23 MB / 0.545 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.0006232/0.2268, allocations: 386.2 kB / 0.7409 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/0.2273, allocations: 91.34 kB / 0.741 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.2275, allocations: 104.2 kB / 0.7411 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.2275, allocations: 8 kB / 0.7411 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2275, allocations: 8 kB / 0.7411 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.2276, allocations: 7.984 kB / 0.7411 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004286/0.2318, allocations: 3.397 MB / 0.7444 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.2319, allocations: 8 kB / 0.7444 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.2323, allocations: 87.83 kB / 0.7445 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.2327, allocations: 124.8 kB / 0.7446 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/0.2328, allocations: 23.94 kB / 0.7446 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.2352, allocations: 2.149 MB / 0.7467 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/0.2352, allocations: 11.94 kB / 0.7468 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.2371, allocations: 1.127 MB / 0.7479 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.2374, allocations: 204.3 kB / 0.7481 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.2375, allocations: 24 kB / 0.7481 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.238, allocations: 35.97 kB / 0.7481 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.2382, allocations: 71.69 kB / 0.7482 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.2382, allocations: 24 kB / 0.7482 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00108/0.2393, allocations: 0.7893 MB / 0.749 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2393, allocations: 0 / 0.749 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001155/0.2404, allocations: 335.8 kB / 0.7493 GB, free: 8.742 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.002235/0.2427, allocations: 1.722 MB / 0.751 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008554/0.2512, allocations: 6.758 MB / 0.7576 GB, free: 96 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/0.2512, allocations: 0 / 0.7576 GB, free: 96 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.2522, allocations: 0.4895 MB / 0.7581 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2532, allocations: 136.2 kB / 0.7582 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/0.2903, allocations: 26.29 MB / 0.7839 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.2912, allocations: 1.105 MB / 0.7849 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006276/0.2918, allocations: 240.5 kB / 0.7852 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.2923, allocations: 287.3 kB / 0.7854 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.2923, allocations: 0 / 0.7854 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06/0.3523, allocations: 27.55 MB / 0.8123 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.72, allocations: 14.03 kB / 0.8124 GB, free: 7.965 MB / 0.6231 GB " [Timeout remaining time 646] (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 --stepSize=400 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.536448076018132] Failed to read output from testmodel.py, exit status != 0: 14.157233617035672 13.914445643 13.739905975 Calling exit ...