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.001324/0.001324, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 196 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7389/0.7389, allocations: 132.2 MB / 422.6 MB, free: 1.84 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.45 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.153, allocations: 80.19 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.LongwaveHeatTransfer): time 0.00362/0.1566, allocations: 2.463 MB / 0.5826 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1578, allocations: 0.7013 MB / 0.5833 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.1581, allocations: 4 kB / 0.5833 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1582, allocations: 47.52 kB / 0.5833 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1585, allocations: 123 kB / 0.5835 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.1589, allocations: 131.8 kB / 0.5836 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006049/0.1595, allocations: 0.5841 MB / 0.5842 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.1599, allocations: 274 kB / 0.5844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.1603, allocations: 247.2 kB / 0.5847 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.1608, allocations: 315 kB / 0.585 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.1609, allocations: 55.94 kB / 0.585 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1611, allocations: 56 kB / 0.5851 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1612, allocations: 143.6 kB / 0.5852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.1615, allocations: 250.8 kB / 0.5854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.1621, allocations: 0.6351 MB / 0.5861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1621, allocations: 0 / 0.5861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1621, allocations: 0 / 0.5861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.1621, allocations: 11.92 kB / 0.5861 GB, free: 2.66 MB / 494.1 MB 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.002458/0.1646, allocations: 0.9273 MB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1647, allocations: 12.03 kB / 0.587 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.251e-05/0.1647, allocations: 58.73 kB / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1648, allocations: 48.38 kB / 0.5871 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.1654, allocations: 415.9 kB / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.1654, allocations: 28.94 kB / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.1655, allocations: 31.94 kB / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.166, allocations: 316.2 kB / 0.5878 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.166, allocations: 0 / 0.5878 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.166, allocations: 12 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.166, allocations: 8 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.1664, allocations: 225.5 kB / 0.5881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.1695, allocations: 1.671 MB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1698, allocations: 191.8 kB / 0.5899 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.1701, allocations: 154.5 kB / 0.59 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1701, allocations: 4 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1701, allocations: 34.56 kB / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.1701, allocations: 4 kB / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001226/0.1714, allocations: 0.5712 MB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.1714, allocations: 106.8 kB / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.1719, allocations: 461.5 kB / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.172, allocations: 37.62 kB / 0.5912 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1721, allocations: 188.5 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.1721, allocations: 63.09 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.1723, allocations: 102 kB / 0.5916 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1724, allocations: 350.8 kB / 0.5919 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.1731, allocations: 308.7 kB / 0.5922 GB, free: 12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.1737, allocations: 327.7 kB / 0.5925 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008352/0.1746, allocations: 444.6 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1746, allocations: 0 / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001543/0.1761, allocations: 0.7747 MB / 0.5937 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1761, allocations: 4 kB / 0.5937 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1762, allocations: 0 / 0.5937 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/0.1765, allocations: 73.66 kB / 0.5938 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.177, allocations: 99.8 kB / 0.5938 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.1794, allocations: 3.027 MB / 0.5968 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.1801, allocations: 103.6 kB / 0.5969 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.1802, allocations: 16 kB / 0.5969 GB, free: 6.852 MB / 0.4981 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.0002344/0.1804, allocations: 195.1 kB / 0.5971 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1805, allocations: 31.62 kB / 0.5971 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.643e-05/0.1806, allocations: 34.89 kB / 0.5972 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1806, allocations: 0 / 0.5972 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1806, allocations: 4 kB / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1806, allocations: 0 / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.1815, allocations: 0.7741 MB / 0.5979 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1815, allocations: 4.281 kB / 0.5979 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1817, allocations: 39.91 kB / 0.598 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/0.1819, allocations: 69.67 kB / 0.598 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.182, allocations: 11.94 kB / 0.598 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.184, allocations: 3.019 MB / 0.601 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.184, allocations: 4.031 kB / 0.601 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.1847, allocations: 470.3 kB / 0.6014 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1848, allocations: 124.6 kB / 0.6016 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.1849, allocations: 4 kB / 0.6016 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.1852, allocations: 23.97 kB / 0.6016 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.1852, allocations: 23.92 kB / 0.6016 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1853, allocations: 7.938 kB / 0.6016 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003385/0.1856, allocations: 323.1 kB / 0.6019 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1856, allocations: 0 / 0.6019 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004761/0.1861, allocations: 123.8 kB / 0.6021 GB, free: 1.145 MB / 0.4981 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.000977/0.1871, allocations: 0.9905 MB / 0.603 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2176/0.4047, allocations: 0.7067 MB / 0.6037 GB, free: 55.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4048, allocations: 3.062 kB / 0.6037 GB, free: 55.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.4052, allocations: 358.3 kB / 0.6041 GB, free: 55.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.4058, allocations: 76.36 kB / 0.6041 GB, free: 55.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.4111, allocations: 4.574 MB / 0.6086 GB, free: 53.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.4113, allocations: 0.836 MB / 0.6094 GB, free: 52.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.4115, allocations: 67.7 kB / 0.6095 GB, free: 52.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.4117, allocations: 117.7 kB / 0.6096 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of SimCode: time 5.82e-07/0.4117, allocations: 1.75 kB / 0.6096 GB, free: 52.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.4415, allocations: 9.665 MB / 0.619 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 16.77 kB / 0.619 GB, free: 51.95 MB / 0.4981 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)