Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.001201/0.001202, 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.00116/0.001161, allocations: 198.5 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.269/1.269, allocations: 205.1 MB / 222.4 MB, free: 4.406 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.638/1.638, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001384/0.001384, allocations: 67.33 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1743, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001628/0.176, allocations: 0.5931 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.178, allocations: 1.75 MB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.1781, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.1781, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-06/0.1781, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.1789, allocations: 311.1 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.179, allocations: 123.8 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.1791, allocations: 4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.1791, allocations: 43.95 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1792, allocations: 51.94 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1792, allocations: 4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.1796, allocations: 298.5 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.1797, allocations: 35.91 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1798, allocations: 47.7 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1801, allocations: 271.5 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1801, allocations: 0 / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1801, allocations: 3.938 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1801, allocations: 4 kB / 0.7869 GB, free: 9.852 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005519/0.1807, allocations: 439.3 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1807, allocations: 8.031 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.1807, allocations: 50.73 kB / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1808, allocations: 12.75 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.1809, allocations: 172 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1809, allocations: 16 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1809, allocations: 12 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1812, allocations: 218.7 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1812, allocations: 3.938 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1813, allocations: 3.938 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1813, allocations: 4 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.1815, allocations: 183.8 kB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.1818, allocations: 274 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.1825, allocations: 415.8 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.1827, allocations: 177.2 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.183, allocations: 203.2 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.183, allocations: 46.5 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.183, allocations: 0 / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006123/0.1836, allocations: 385.2 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.1837, allocations: 191.9 kB / 0.7896 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.74e-05/0.1837, allocations: 89.86 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1838, allocations: 29.7 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.1838, allocations: 84.69 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.1839, allocations: 98.5 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.184, allocations: 57.69 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.1841, allocations: 322.8 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1842, allocations: 87.92 kB / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.1844, allocations: 145 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.1847, allocations: 258.4 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1847, allocations: 0 / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004197/0.1851, allocations: 297.6 kB / 0.791 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1852, allocations: 8 kB / 0.791 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1852, allocations: 4 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1852, allocations: 0 / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1854, allocations: 59.89 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1854, allocations: 4 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.1855, allocations: 19.75 kB / 0.7911 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1856, allocations: 15.98 kB / 0.7911 GB, free: 5.117 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 9.332e-05/0.1857, allocations: 137.7 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.1857, allocations: 7.906 kB / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.1863, allocations: 364.8 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1863, allocations: 4 kB / 0.7916 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1863, allocations: 4 kB / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1863, allocations: 0 / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1865, allocations: 257.3 kB / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1865, allocations: 448 / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1867, allocations: 59.89 kB / 0.7919 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1867, allocations: 4 kB / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1868, allocations: 15.98 kB / 0.7919 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1868, allocations: 4 kB / 0.7919 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1868, allocations: 4 kB / 0.7919 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.1872, allocations: 349.4 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.1873, allocations: 92.95 kB / 0.7924 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1873, allocations: 8 kB / 0.7924 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.1874, allocations: 4 kB / 0.7924 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1874, allocations: 19.97 kB / 0.7924 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1875, allocations: 15.98 kB / 0.7924 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.342e-05/0.1875, allocations: 83.33 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1875, allocations: 0 / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003518/0.1879, allocations: 91.92 kB / 0.7926 GB, free: 3.504 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0009891/0.1888, allocations: 0.9973 MB / 0.7936 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.1892, allocations: 272.3 kB / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1893, allocations: 0 / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1894, allocations: 135.8 kB / 0.7939 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.1896, allocations: 24.89 kB / 0.794 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.1903, allocations: 435.9 kB / 0.7944 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1905, allocations: 0.7124 MB / 0.7951 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.1908, allocations: 109.4 kB / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.1908, allocations: 39.41 kB / 0.7952 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1908, allocations: 0 / 0.7952 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/0.3185, allocations: 4.051 MB / 0.7992 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.958, allocations: 18.44 kB / 0.7992 GB, free: 12.7 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)