Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.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.LongwaveHeatTransfer,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer",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.007881/0.007881, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.002013/0.002013, allocations: 189.7 kB / 16.67 MB, free: 5.934 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8321/0.8321, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 62.66 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1449, allocations: 80.22 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.003648/0.1486, allocations: 2.456 MB / 0.6616 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1499, allocations: 0.7052 MB / 0.6623 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.15, allocations: 4 kB / 0.6623 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.1502, allocations: 55.5 kB / 0.6624 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.1504, allocations: 119 kB / 0.6625 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.1509, allocations: 135.8 kB / 0.6626 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006741/0.1515, allocations: 0.584 MB / 0.6632 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.152, allocations: 274 kB / 0.6634 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.1523, allocations: 247.2 kB / 0.6637 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.1528, allocations: 323 kB / 0.664 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.1529, allocations: 56 kB / 0.664 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.153, allocations: 52 kB / 0.6641 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.1532, allocations: 143.6 kB / 0.6642 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.1535, allocations: 246.9 kB / 0.6644 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.1543, allocations: 0.6464 MB / 0.6651 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1543, allocations: 0 / 0.6651 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.043e-06/0.1543, allocations: 0 / 0.6651 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.1543, allocations: 0 / 0.6651 GB, free: 4.84 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.002655/0.157, allocations: 0.9388 MB / 0.666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.157, allocations: 12.03 kB / 0.666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.571e-05/0.1571, allocations: 62.67 kB / 0.6661 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1572, allocations: 44.66 kB / 0.6661 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.1579, allocations: 428.1 kB / 0.6665 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.158, allocations: 28.69 kB / 0.6665 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.158, allocations: 32 kB / 0.6666 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.1586, allocations: 320.2 kB / 0.6669 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1587, allocations: 0 / 0.6669 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1587, allocations: 8 kB / 0.6669 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1587, allocations: 11.94 kB / 0.6669 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.1592, allocations: 225.6 kB / 0.6671 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.1625, allocations: 1.664 MB / 0.6687 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.1629, allocations: 187.8 kB / 0.6689 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.1632, allocations: 158.5 kB / 0.6691 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1632, allocations: 0 / 0.6691 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.1633, allocations: 46.69 kB / 0.6691 GB, free: 420 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.1633, allocations: 0 / 0.6691 GB, free: 420 kB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001393/0.1647, allocations: 0.5635 MB / 0.6697 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.1648, allocations: 114.8 kB / 0.6698 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.1654, allocations: 457.5 kB / 0.6702 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.1654, allocations: 29.7 kB / 0.6702 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1656, allocations: 196.6 kB / 0.6704 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.1656, allocations: 67.42 kB / 0.6705 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.1659, allocations: 102.1 kB / 0.6706 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.166, allocations: 350.8 kB / 0.6709 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.1668, allocations: 308.7 kB / 0.6712 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007035/0.1675, allocations: 331.7 kB / 0.6715 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/0.1684, allocations: 452.6 kB / 0.672 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.1684, allocations: 0 / 0.672 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001762/0.1702, allocations: 0.7706 MB / 0.6727 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1702, allocations: 8 kB / 0.6727 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1703, allocations: 4 kB / 0.6727 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.1706, allocations: 69.66 kB / 0.6728 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.1712, allocations: 95.86 kB / 0.6729 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.1743, allocations: 3.022 MB / 0.6758 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/0.1752, allocations: 104 kB / 0.6759 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.1753, allocations: 12 kB / 0.676 GB, free: 9.008 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: 2 (zonLwDistLin.computeCarroll,zonLwDist.computeCarroll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.1756, allocations: 198.4 kB / 0.6761 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1757, allocations: 35.81 kB / 0.6762 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.1758, allocations: 34.89 kB / 0.6762 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1758, allocations: 4 kB / 0.6762 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1758, allocations: 4 kB / 0.6762 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1758, allocations: 3.984 kB / 0.6762 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.177, allocations: 0.7782 MB / 0.677 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.177, allocations: 0 / 0.677 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1771, allocations: 35.97 kB / 0.677 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.1774, allocations: 73.55 kB / 0.6771 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1775, allocations: 8.156 kB / 0.6771 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.1802, allocations: 3.024 MB / 0.68 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1802, allocations: 0 / 0.68 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.1811, allocations: 454.7 kB / 0.6805 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.1813, allocations: 132.8 kB / 0.6806 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1813, allocations: 8 kB / 0.6806 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.1816, allocations: 23.97 kB / 0.6806 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.1817, allocations: 23.86 kB / 0.6807 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1818, allocations: 12 kB / 0.6807 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004675/0.1822, allocations: 323.1 kB / 0.681 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1823, allocations: 0 / 0.681 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006304/0.1829, allocations: 119.9 kB / 0.6811 GB, free: 3.293 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.1841, allocations: 1.006 MB / 0.6821 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.1856, allocations: 0.6966 MB / 0.6828 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1856, allocations: 0 / 0.6828 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.1862, allocations: 361.7 kB / 0.6831 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.1867, allocations: 68.5 kB / 0.6832 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007708/0.1945, allocations: 4.56 MB / 0.6876 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.1951, allocations: 0.8343 MB / 0.6884 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.1953, allocations: 66.94 kB / 0.6885 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.1956, allocations: 121.8 kB / 0.6886 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.1956, allocations: 0 / 0.6886 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/0.2369, allocations: 9.796 MB / 0.6982 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.78, allocations: 15.27 kB / 0.6982 GB, free: 1.816 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer_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_LongwaveHeatTransfer.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe 2>&1)