Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.005143/0.005143, allocations: 100.2 kB / 15.73 MB, free: 6.496 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.001427/0.001427, allocations: 199 kB / 16.68 MB, free: 6.375 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002368/0.002367, allocations: 275.2 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9716/0.9716, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 106.4 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1699, allocations: 86.96 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002569/0.1725, allocations: 1.563 MB / 0.7674 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1739, allocations: 0.9167 MB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.174, allocations: 4 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.174, allocations: 3.938 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1742, allocations: 23.78 kB / 0.7684 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1745, allocations: 139.6 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1747, allocations: 79.64 kB / 0.7686 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.1748, allocations: 16.25 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.1749, allocations: 31.92 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.175, allocations: 39.84 kB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.175, allocations: 4 kB / 0.7687 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.1754, allocations: 287.6 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.1754, allocations: 11.94 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.1755, allocations: 31.8 kB / 0.769 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1757, allocations: 155.4 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1757, allocations: 0 / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1757, allocations: 0 / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.1758, allocations: 4 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005637/0.1763, allocations: 406.8 kB / 0.7695 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1764, allocations: 16.03 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1764, allocations: 38.75 kB / 0.7696 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.1765, allocations: 16.88 kB / 0.7696 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1767, allocations: 188.2 kB / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1768, allocations: 4.375 kB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1768, allocations: 4.375 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.177, allocations: 69.77 kB / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.177, allocations: 0 / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.177, allocations: 7.938 kB / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.177, allocations: 0 / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1771, allocations: 39.97 kB / 0.7699 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1776, allocations: 300.8 kB / 0.7702 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1777, allocations: 54.56 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.1778, allocations: 28.97 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1778, allocations: 3.938 kB / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1779, allocations: 34.55 kB / 0.7703 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1779, allocations: 7.938 kB / 0.7703 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003477/0.1782, allocations: 101.6 kB / 0.7704 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.1783, allocations: 55.41 kB / 0.7704 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1784, allocations: 135.9 kB / 0.7706 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1784, allocations: 25.7 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.1785, allocations: 96.12 kB / 0.7707 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.1785, allocations: 19.84 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1786, allocations: 21.7 kB / 0.7707 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1787, allocations: 314.8 kB / 0.771 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.1788, allocations: 27.98 kB / 0.7711 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.1789, allocations: 27.92 kB / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.179, allocations: 48.83 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.179, allocations: 0 / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002104/0.1792, allocations: 93.61 kB / 0.7712 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1793, allocations: 8 kB / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1793, allocations: 448 / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1793, allocations: 4 kB / 0.7712 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1794, allocations: 15.98 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1794, allocations: 3.984 kB / 0.7712 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.1795, allocations: 15.89 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1795, allocations: 3.984 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.284e-05/0.1796, allocations: 118.4 kB / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1796, allocations: 7.953 kB / 0.7714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1799, allocations: 97.95 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1799, allocations: 0 / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1799, allocations: 4 kB / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1799, allocations: 0 / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.1801, allocations: 185.6 kB / 0.7717 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1801, allocations: 0 / 0.7717 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.1802, allocations: 23.86 kB / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1802, allocations: 0 / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1802, allocations: 4 kB / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1802, allocations: 4 kB / 0.7717 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1802, allocations: 0 / 0.7717 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1805, allocations: 191.4 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1806, allocations: 85 kB / 0.772 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1806, allocations: 7.938 kB / 0.772 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.1807, allocations: 3.984 kB / 0.772 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.1807, allocations: 4 kB / 0.772 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1807, allocations: 4 kB / 0.772 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.1808, allocations: 110.1 kB / 0.7721 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1808, allocations: 0 / 0.7721 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002362/0.181, allocations: 16 kB / 0.7721 GB, free: 2.258 MB / 0.5606 GB 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 (6): * Single equations (assignments): 6 * 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.1816, allocations: 0.7435 MB / 0.7728 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1819, allocations: 64.14 kB / 0.7729 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1819, allocations: 0 / 0.7729 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.182, allocations: 27.92 kB / 0.7729 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1822, allocations: 12 kB / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2711/0.4533, allocations: 1.445 MB / 0.7743 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.4535, allocations: 0.6901 MB / 0.775 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.911e-05/0.4536, allocations: 9.234 kB / 0.775 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.4536, allocations: 25.52 kB / 0.775 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.4536, allocations: 0.6562 kB / 0.775 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.4779, allocations: 2.328 MB / 0.7773 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.792, allocations: 9.719 kB / 0.7773 GB, free: 13.03 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)