Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.LongwaveHeatTransfer,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer,fileNamePrefix="IDEAS_dev_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.007728/0.007728, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001437/0.001437, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.547/1.547, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.91 kB / 0.5852 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5477, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.003609/0.5514, allocations: 2.471 MB / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.5526, allocations: 0.6934 MB / 0.6673 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.5528, allocations: 13.09 kB / 0.6673 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.553, allocations: 44.83 kB / 0.6673 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.5533, allocations: 128.3 kB / 0.6674 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.5537, allocations: 140.3 kB / 0.6676 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.5543, allocations: 0.5822 MB / 0.6681 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.5547, allocations: 271.2 kB / 0.6684 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.555, allocations: 249.7 kB / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.5554, allocations: 318.2 kB / 0.6689 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.5555, allocations: 51.34 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.5557, allocations: 52.22 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.5558, allocations: 147.3 kB / 0.6692 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.5561, allocations: 244 kB / 0.6694 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.5568, allocations: 0.6467 MB / 0.67 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5568, allocations: 0 / 0.67 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5568, allocations: 1.094 kB / 0.67 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.5568, allocations: 0 / 0.67 GB, free: 2.945 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.002552/0.5594, allocations: 0.9426 MB / 0.671 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5594, allocations: 8.844 kB / 0.671 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/0.5595, allocations: 63.72 kB / 0.671 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.5596, allocations: 55.5 kB / 0.6711 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.5603, allocations: 419.5 kB / 0.6715 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.5604, allocations: 27.81 kB / 0.6715 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.5604, allocations: 26.91 kB / 0.6715 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.561, allocations: 321.5 kB / 0.6718 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5611, allocations: 5.094 kB / 0.6719 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.5611, allocations: 6.031 kB / 0.6719 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5611, allocations: 5.375 kB / 0.6719 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.5616, allocations: 217.4 kB / 0.6721 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.5651, allocations: 1.661 MB / 0.6737 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.5655, allocations: 186.1 kB / 0.6739 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.5658, allocations: 160.8 kB / 0.674 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.5659, allocations: 1.375 kB / 0.674 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.5659, allocations: 37.41 kB / 0.6741 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 4.208e-06/0.5659, allocations: 0 / 0.6741 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001607/0.5675, allocations: 0.5657 MB / 0.6746 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.5677, allocations: 109.4 kB / 0.6747 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.5685, allocations: 459.3 kB / 0.6752 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.5685, allocations: 32.08 kB / 0.6752 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.5687, allocations: 195 kB / 0.6754 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.5688, allocations: 67.95 kB / 0.6754 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.5691, allocations: 96.83 kB / 0.6755 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.5693, allocations: 352.7 kB / 0.6759 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007927/0.5701, allocations: 302.8 kB / 0.6762 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.5709, allocations: 328.8 kB / 0.6765 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.572, allocations: 440.6 kB / 0.6769 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.5721, allocations: 4 kB / 0.6769 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002074/0.5741, allocations: 0.7731 MB / 0.6776 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.5742, allocations: 5.625 kB / 0.6777 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5742, allocations: 0 / 0.6777 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.5746, allocations: 74.19 kB / 0.6777 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.5752, allocations: 93.53 kB / 0.6778 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.5787, allocations: 3.033 MB / 0.6808 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/0.5797, allocations: 99.67 kB / 0.6809 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.5798, allocations: 18.3 kB / 0.6809 GB, free: 10.13 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 (44): * Single equations (assignments): 40 * 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.0003145/0.5801, allocations: 197.2 kB / 0.6811 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.5804, allocations: 34.95 kB / 0.6811 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.5805, allocations: 39.25 kB / 0.6811 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.5805, allocations: 6.406 kB / 0.6812 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5805, allocations: 1.188 kB / 0.6812 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5805, allocations: 1.188 kB / 0.6812 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5817, allocations: 0.7531 MB / 0.6819 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5817, allocations: 2.406 kB / 0.6819 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.5819, allocations: 39.09 kB / 0.6819 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.5822, allocations: 70.86 kB / 0.682 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.5822, allocations: 7.375 kB / 0.682 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/0.5849, allocations: 3.014 MB / 0.6849 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5849, allocations: 2.312 kB / 0.685 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.5857, allocations: 444.9 kB / 0.6854 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.5859, allocations: 132 kB / 0.6855 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.586, allocations: 8.938 kB / 0.6855 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.5863, allocations: 17.09 kB / 0.6855 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.5864, allocations: 24.45 kB / 0.6855 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.5864, allocations: 6.344 kB / 0.6856 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004764/0.5869, allocations: 325.9 kB / 0.6859 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5869, allocations: 0 / 0.6859 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006933/0.5876, allocations: 126.7 kB / 0.686 GB, free: 5.391 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 14 * 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.001152/0.5887, allocations: 0.9913 MB / 0.687 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.5903, allocations: 0.6982 MB / 0.6876 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5903, allocations: 1.062 kB / 0.6876 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.5909, allocations: 348.6 kB / 0.688 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.5914, allocations: 70.61 kB / 0.688 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/0.6002, allocations: 4.546 MB / 0.6925 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.601, allocations: 0.8365 MB / 0.6933 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003851/0.6014, allocations: 67.02 kB / 0.6934 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.6016, allocations: 116.4 kB / 0.6935 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/0.6017, allocations: 0 / 0.6935 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.6392, allocations: 9.778 MB / 0.703 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.54, allocations: 18.84 kB / 0.703 GB, free: 8.734 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_LongwaveHeatTransfer.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer.pipe 2>&1)