Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.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.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff",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.001319/0.001319, allocations: 108 kB / 15.6 MB, free: 132 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.001139/0.001139, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7437/0.7437, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.77 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1603, allocations: 80.21 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff): time 0.002989/0.1633, allocations: 1.695 MB / 0.5819 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1649, allocations: 1.033 MB / 0.5829 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.94e-05/0.165, allocations: 7.938 kB / 0.5829 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.1651, allocations: 11.86 kB / 0.5829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1654, allocations: 74.42 kB / 0.583 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1657, allocations: 115.8 kB / 0.5831 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1659, allocations: 155.4 kB / 0.5832 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.166, allocations: 33.77 kB / 0.5833 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1662, allocations: 75.7 kB / 0.5833 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.1663, allocations: 63.58 kB / 0.5834 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1663, allocations: 4 kB / 0.5834 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1665, allocations: 103.9 kB / 0.5835 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.1665, allocations: 19.91 kB / 0.5835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.1666, allocations: 55.61 kB / 0.5836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1668, allocations: 151.5 kB / 0.5837 GB, free: 5.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1668, allocations: 0 / 0.5837 GB, free: 5.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1668, allocations: 0 / 0.5837 GB, free: 5.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1668, allocations: 0 / 0.5837 GB, free: 5.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005724/0.1674, allocations: 458.6 kB / 0.5841 GB, free: 4.574 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1674, allocations: 8.031 kB / 0.5842 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1675, allocations: 42.73 kB / 0.5842 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1675, allocations: 12.75 kB / 0.5842 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1677, allocations: 219.8 kB / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1677, allocations: 4.375 kB / 0.5844 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1678, allocations: 15.94 kB / 0.5844 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.168, allocations: 89.62 kB / 0.5845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.168, allocations: 4 kB / 0.5845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.168, allocations: 0 / 0.5845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1681, allocations: 4 kB / 0.5845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.1683, allocations: 71.94 kB / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.1689, allocations: 380.4 kB / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1691, allocations: 58.61 kB / 0.585 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1692, allocations: 32.83 kB / 0.585 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/0.1697, allocations: 0.5583 MB / 0.5856 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1698, allocations: 42.5 kB / 0.5856 GB, free: 2.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/0.1698, allocations: 0 / 0.5856 GB, free: 2.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003991/0.1702, allocations: 117.5 kB / 0.5857 GB, free: 2.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1702, allocations: 51.41 kB / 0.5858 GB, free: 2.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1704, allocations: 213.1 kB / 0.586 GB, free: 2.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1704, allocations: 25.7 kB / 0.586 GB, free: 2.363 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.1705, allocations: 119.8 kB / 0.5861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1705, allocations: 11.89 kB / 0.5861 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.1706, allocations: 29.62 kB / 0.5862 GB, free: 2.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1707, allocations: 322.8 kB / 0.5865 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1708, allocations: 31.97 kB / 0.5865 GB, free: 1.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.1709, allocations: 73.86 kB / 0.5866 GB, free: 1.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1712, allocations: 109.9 kB / 0.5867 GB, free: 1.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1712, allocations: 0 / 0.5867 GB, free: 1.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002833/0.1715, allocations: 133.2 kB / 0.5868 GB, free: 1.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1715, allocations: 8 kB / 0.5868 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1715, allocations: 192 / 0.5868 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1715, allocations: 8 kB / 0.5868 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1717, allocations: 19.98 kB / 0.5868 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.1717, allocations: 4 kB / 0.5869 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.535e-05/0.1718, allocations: 19.92 kB / 0.5869 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1718, allocations: 4 kB / 0.5869 GB, free: 1.418 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.318e-05/0.1719, allocations: 118.4 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1719, allocations: 19.75 kB / 0.587 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.1723, allocations: 118.8 kB / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1723, allocations: 0 / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1723, allocations: 0 / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1723, allocations: 0 / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.1725, allocations: 213.5 kB / 0.5873 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1725, allocations: 4 kB / 0.5873 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.1726, allocations: 23.86 kB / 0.5874 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1726, allocations: 0 / 0.5874 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1726, allocations: 0 / 0.5874 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1726, allocations: 4.062 kB / 0.5874 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1726, allocations: 0 / 0.5874 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1729, allocations: 187.3 kB / 0.5875 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.761e-05/0.173, allocations: 112.8 kB / 0.5876 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.173, allocations: 0 / 0.5876 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.1731, allocations: 7.984 kB / 0.5876 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1732, allocations: 8 kB / 0.5877 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1732, allocations: 192 / 0.5877 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1733, allocations: 145.6 kB / 0.5878 GB, free: 384 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1733, allocations: 3.938 kB / 0.5878 GB, free: 380 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1736, allocations: 20 kB / 0.5878 GB, free: 360 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006087/0.1742, allocations: 0.7495 MB / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1744, allocations: 76.25 kB / 0.5886 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1745, allocations: 7.938 kB / 0.5886 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.1746, allocations: 27.92 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1749, allocations: 9.609 kB / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.1767, allocations: 1.673 MB / 0.5903 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.177, allocations: 0.708 MB / 0.591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.177, allocations: 16.55 kB / 0.591 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.1771, allocations: 31.42 kB / 0.591 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1771, allocations: 0 / 0.591 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.1958, allocations: 2.366 MB / 0.5933 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.334, allocations: 12.22 kB / 0.5934 GB, free: 10.68 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_ExtConvForcedCoeff.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ExtConvForcedCoeff.pipe 2>&1)