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.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00127/0.00127, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.335/1.335, allocations: 205.1 MB / 222 MB, free: 4.754 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.621/1.621, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.001329/0.001329, allocations: 66.61 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1993, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001643/0.201, allocations: 0.6644 MB / 0.7834 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2031, allocations: 1.805 MB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.2032, allocations: 3.938 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.2032, allocations: 0 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.2032, allocations: 0 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.2039, allocations: 246.5 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.204, allocations: 115.9 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.2041, allocations: 4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.2041, allocations: 35.98 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.2042, allocations: 67.84 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.2042, allocations: 8 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.2046, allocations: 291.6 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.2047, allocations: 35.91 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.2047, allocations: 39.78 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.2051, allocations: 279.3 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2051, allocations: 0 / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2051, allocations: 0 / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2051, allocations: 0 / 0.7863 GB, free: 10.28 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.0005691/0.2057, allocations: 443.6 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2057, allocations: 8.031 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.2058, allocations: 46.73 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2058, allocations: 12.75 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.029e-05/0.2059, allocations: 180 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.2059, allocations: 8 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.2059, allocations: 12 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.2062, allocations: 218.7 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2063, allocations: 3.938 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2063, allocations: 8 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2063, allocations: 4 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.2065, allocations: 179.7 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.2068, allocations: 282 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.2075, allocations: 407.8 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2077, allocations: 185.2 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.208, allocations: 191.2 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.208, allocations: 46.5 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.208, allocations: 0 / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006021/0.2086, allocations: 386.4 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.2087, allocations: 187.9 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.118e-05/0.2087, allocations: 89.86 kB / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.2088, allocations: 41.64 kB / 0.7891 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.2088, allocations: 80.7 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.2089, allocations: 102.5 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.209, allocations: 53.69 kB / 0.7893 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2091, allocations: 326.8 kB / 0.7896 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2092, allocations: 87.92 kB / 0.7897 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.2094, allocations: 142 kB / 0.7899 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.2097, allocations: 265.2 kB / 0.7901 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2097, allocations: 0 / 0.7901 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004027/0.2101, allocations: 289.3 kB / 0.7904 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2102, allocations: 4 kB / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2102, allocations: 0 / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2102, allocations: 4 kB / 0.7904 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.2104, allocations: 63.89 kB / 0.7904 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2104, allocations: 4 kB / 0.7905 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.2105, allocations: 15.75 kB / 0.7905 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2106, allocations: 16 kB / 0.7905 GB, free: 5.547 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.279e-05/0.2106, allocations: 138.3 kB / 0.7906 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.2107, allocations: 11.91 kB / 0.7906 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.2113, allocations: 361.3 kB / 0.791 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2113, allocations: 7.984 kB / 0.791 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.2113, allocations: 4 kB / 0.791 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2113, allocations: 4 kB / 0.791 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.2115, allocations: 257.3 kB / 0.7912 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2115, allocations: 0 / 0.7912 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2117, allocations: 59.89 kB / 0.7913 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2117, allocations: 0 / 0.7913 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2118, allocations: 8 kB / 0.7913 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2118, allocations: 4 kB / 0.7913 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2118, allocations: 4 kB / 0.7913 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.2122, allocations: 352.9 kB / 0.7916 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.2123, allocations: 92.95 kB / 0.7917 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.2123, allocations: 11.94 kB / 0.7917 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.2124, allocations: 4 kB / 0.7917 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.2124, allocations: 27.97 kB / 0.7918 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.2125, allocations: 11.98 kB / 0.7918 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.2125, allocations: 83.16 kB / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2125, allocations: 0 / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003387/0.2128, allocations: 99.98 kB / 0.792 GB, free: 3.918 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.0009684/0.2138, allocations: 0.9677 MB / 0.7929 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.2142, allocations: 251.7 kB / 0.7931 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2142, allocations: 4 kB / 0.7931 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2144, allocations: 135.8 kB / 0.7933 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.2145, allocations: 15.94 kB / 0.7933 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006752/0.2152, allocations: 480.3 kB / 0.7937 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.2155, allocations: 0.7127 MB / 0.7944 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.2157, allocations: 113.4 kB / 0.7946 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.2158, allocations: 35.42 kB / 0.7946 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2158, allocations: 0 / 0.7946 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9565/1.172, allocations: 3.927 MB / 0.7984 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.173, allocations: 249.8 kB / 0.7987 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/3.206, allocations: 0 / 0.7987 GB, free: 13.04 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)