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.001108/0.001108, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008184/0.008184, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.308/1.308, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.64/1.64, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0006251/0.0006253, allocations: 16.02 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2118, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0006871/0.2125, allocations: 330.5 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002228/0.2148, allocations: 1.778 MB / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.2148, allocations: 0 / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.2149, allocations: 0 / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.2149, allocations: 0 / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.2156, allocations: 254.6 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.2158, allocations: 115.8 kB / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.2158, allocations: 7.984 kB / 0.7904 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.2158, allocations: 35.98 kB / 0.7905 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.216, allocations: 59.91 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.216, allocations: 4 kB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.2164, allocations: 295.7 kB / 0.7908 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.2165, allocations: 39.89 kB / 0.7908 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.2165, allocations: 69.42 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.2169, allocations: 263.5 kB / 0.7912 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2169, allocations: 0 / 0.7912 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2169, allocations: 4 kB / 0.7912 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2169, allocations: 0 / 0.7912 GB, free: 8.215 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.0005586/0.2175, allocations: 427.5 kB / 0.7916 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2175, allocations: 8.031 kB / 0.7916 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.2176, allocations: 46.69 kB / 0.7916 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.2176, allocations: 16.75 kB / 0.7916 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.2177, allocations: 176 kB / 0.7918 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2177, allocations: 8 kB / 0.7918 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.2177, allocations: 12 kB / 0.7918 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.218, allocations: 218.6 kB / 0.792 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.218, allocations: 4 kB / 0.792 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2181, allocations: 4 kB / 0.792 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.2181, allocations: 8 kB / 0.792 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.2183, allocations: 183.7 kB / 0.7922 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.2186, allocations: 282 kB / 0.7925 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.2193, allocations: 415.8 kB / 0.7929 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.2195, allocations: 173.2 kB / 0.7931 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.2198, allocations: 195.2 kB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.2198, allocations: 46.48 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.2198, allocations: 4 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0005955/0.2204, allocations: 378.7 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.2205, allocations: 187.9 kB / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.944e-05/0.2205, allocations: 89.86 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2206, allocations: 33.7 kB / 0.7939 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.2206, allocations: 84.7 kB / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.2207, allocations: 102.5 kB / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.2207, allocations: 25.7 kB / 0.7941 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.2208, allocations: 326.8 kB / 0.7945 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.221, allocations: 83.92 kB / 0.7945 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2211, allocations: 142.1 kB / 0.7947 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.2214, allocations: 268.8 kB / 0.7949 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2215, allocations: 0 / 0.7949 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003899/0.2218, allocations: 289.3 kB / 0.7952 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2219, allocations: 11.94 kB / 0.7952 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2219, allocations: 0 / 0.7952 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2219, allocations: 4 kB / 0.7952 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2221, allocations: 55.89 kB / 0.7953 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2221, allocations: 4 kB / 0.7953 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.2222, allocations: 23.75 kB / 0.7953 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2223, allocations: 15.98 kB / 0.7953 GB, free: 3.523 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 0.0001/0.2224, allocations: 138.4 kB / 0.7954 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2224, allocations: 11.91 kB / 0.7955 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.223, allocations: 361.3 kB / 0.7958 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.223, allocations: 4 kB / 0.7958 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.223, allocations: 4 kB / 0.7958 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.223, allocations: 4 kB / 0.7958 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.2232, allocations: 257.3 kB / 0.7961 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2232, allocations: 4 kB / 0.7961 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2234, allocations: 59.83 kB / 0.7961 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2235, allocations: 4 kB / 0.7961 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2235, allocations: 8 kB / 0.7961 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2235, allocations: 7.984 kB / 0.7961 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2235, allocations: 0 / 0.7961 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.2239, allocations: 349 kB / 0.7965 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.2239, allocations: 88.95 kB / 0.7966 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.224, allocations: 8 kB / 0.7966 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.2241, allocations: 8 kB / 0.7966 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.2241, allocations: 23.97 kB / 0.7966 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2241, allocations: 15.98 kB / 0.7966 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.2242, allocations: 79.22 kB / 0.7967 GB, free: 2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2242, allocations: 0 / 0.7967 GB, free: 2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003513/0.2245, allocations: 91.98 kB / 0.7968 GB, free: 1.91 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.0009634/0.2255, allocations: 1.002 MB / 0.7978 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.2259, allocations: 243.7 kB / 0.798 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2259, allocations: 0 / 0.798 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.226, allocations: 139.8 kB / 0.7981 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.2262, allocations: 19.94 kB / 0.7981 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.2269, allocations: 470.9 kB / 0.7986 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2272, allocations: 0.7103 MB / 0.7993 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.2274, allocations: 109.4 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.2275, allocations: 39.42 kB / 0.7994 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2275, allocations: 0 / 0.7994 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2927/0.5202, allocations: 3.802 MB / 0.8031 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.5204, allocations: 254.9 kB / 0.8034 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.44, allocations: 5.312 kB / 0.8034 GB, free: 11.16 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)