Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",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.001014/0.001014, 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.001024/0.001025, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 222.4 MB, free: 4.441 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 292.3 MB / 0.5489 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.78 kB / 0.6716 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1734, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.002521/0.1759, allocations: 1.527 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.1762, allocations: 151.5 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.1762, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.1762, allocations: 4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.1763, allocations: 11.88 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.274e-05/0.1764, allocations: 11.97 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.115e-05/0.1764, allocations: 47.86 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.1765, allocations: 7.984 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.1766, allocations: 19.94 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.1766, allocations: 23.89 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1767, allocations: 4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.1767, allocations: 8 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.1767, allocations: 7.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1767, allocations: 19.92 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.916e-05/0.1768, allocations: 40.11 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1768, allocations: 0 / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1768, allocations: 0 / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.1768, allocations: 3.938 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004551/0.1773, allocations: 363.3 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1773, allocations: 12.03 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.1774, allocations: 34.75 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.909e-05/0.1774, allocations: 4.938 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.1775, allocations: 172.2 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-06/0.1775, allocations: 384 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.1775, allocations: 384 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1777, allocations: 77.58 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1778, allocations: 0 / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1778, allocations: 4 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1778, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.1781, allocations: 67.86 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.1784, allocations: 272.8 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1786, allocations: 54.53 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1787, allocations: 44.91 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.1787, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1788, allocations: 30.56 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1788, allocations: 4 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004882/0.1793, allocations: 129.4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1793, allocations: 55.41 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.1794, allocations: 109.8 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1794, allocations: 25.7 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.1794, allocations: 96.12 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.1794, allocations: 7.844 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.1795, allocations: 17.72 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.1796, allocations: 314.8 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1797, allocations: 31.95 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1799, allocations: 35.97 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1801, allocations: 68.78 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1801, allocations: 0 / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003037/0.1804, allocations: 105.8 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1805, allocations: 12 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1805, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1805, allocations: 48 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1806, allocations: 19.95 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1806, allocations: 4 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.1807, allocations: 7.984 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1807, allocations: 0 / 0.7874 GB, free: 9.086 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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 6.059e-05/0.1808, allocations: 117.8 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1808, allocations: 8 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.1808, allocations: 3.906 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1808, allocations: 7.922 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1808, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1808, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.181, allocations: 169.6 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.181, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.1811, allocations: 15.98 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1811, allocations: 3.938 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1811, allocations: 4 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1811, allocations: 0 / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1811, allocations: 7.922 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.1815, allocations: 195.3 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.1815, allocations: 81.11 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1815, allocations: 4 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1816, allocations: 11.98 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1817, allocations: 7.984 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1817, allocations: 0 / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.1817, allocations: 87.27 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1817, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002122/0.1819, allocations: 12 kB / 0.7881 GB, free: 8.262 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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.0005761/0.1825, allocations: 0.7318 MB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.1829, allocations: 71.92 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1829, allocations: 0 / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.183, allocations: 35.95 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1833, allocations: 15.88 kB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.1837, allocations: 172.2 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.1839, allocations: 0.6846 MB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.1839, allocations: 0 / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.184, allocations: 15.44 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.184, allocations: 0 / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.894/2.078, allocations: 1.751 MB / 0.7915 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/12.74, allocations: 10.56 kB / 0.7915 GB, free: 4.824 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1)