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.0009864/0.0009864, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009994/0.0009995, allocations: 196.3 kB / 16.26 MB, free: 6.621 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.318/1.318, allocations: 205.1 MB / 222.1 MB, free: 4.633 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.627/1.627, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001607/0.001607, allocations: 72.44 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2158, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002061/0.2179, allocations: 0.6643 MB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2203, allocations: 1.75 MB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.2204, allocations: 4 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.2204, allocations: 0 / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.225e-06/0.2204, allocations: 0 / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.2214, allocations: 275.1 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.2215, allocations: 127.8 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.2216, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.2216, allocations: 43.97 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2218, allocations: 55.91 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2218, allocations: 8 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.2222, allocations: 290.5 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.2223, allocations: 43.89 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.2224, allocations: 47.72 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.2228, allocations: 267.5 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2228, allocations: 0 / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2228, allocations: 0 / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2228, allocations: 3.938 kB / 0.7864 GB, free: 10.24 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.0006461/0.2234, allocations: 447.3 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2235, allocations: 12.03 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.2235, allocations: 42.73 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.2236, allocations: 12.75 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2237, allocations: 180 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2237, allocations: 8 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2237, allocations: 8 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.2241, allocations: 222.6 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2241, allocations: 0 / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2241, allocations: 11.98 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2241, allocations: 0 / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.2244, allocations: 179.8 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.2247, allocations: 290 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.2254, allocations: 407.8 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.2256, allocations: 181.1 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.2259, allocations: 195.2 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.226, allocations: 46.5 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.754e-06/0.226, allocations: 0 / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006384/0.2266, allocations: 382.6 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.2267, allocations: 187.9 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.2268, allocations: 89.86 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.2268, allocations: 29.7 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.2268, allocations: 88.69 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.2269, allocations: 106.5 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.227, allocations: 53.69 kB / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.2271, allocations: 322.8 kB / 0.7898 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2272, allocations: 83.94 kB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.2274, allocations: 146.1 kB / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2278, allocations: 261.1 kB / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2278, allocations: 7.938 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004126/0.2282, allocations: 289.3 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2282, allocations: 10.66 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2282, allocations: 0 / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2282, allocations: 4 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.2285, allocations: 51.91 kB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2285, allocations: 11.94 kB / 0.7906 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.847e-05/0.2286, allocations: 23.73 kB / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2286, allocations: 12 kB / 0.7907 GB, free: 5.5 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.0001107/0.2287, allocations: 138.4 kB / 0.7908 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.2288, allocations: 11.91 kB / 0.7908 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.2293, allocations: 357.5 kB / 0.7911 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2294, allocations: 7.938 kB / 0.7911 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2294, allocations: 4 kB / 0.7912 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.2294, allocations: 7.984 kB / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.2296, allocations: 253.3 kB / 0.7914 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2296, allocations: 4 kB / 0.7914 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.2299, allocations: 51.91 kB / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2299, allocations: 4 kB / 0.7915 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.2299, allocations: 11.98 kB / 0.7915 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2299, allocations: 4 kB / 0.7915 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2299, allocations: 7.922 kB / 0.7915 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.2304, allocations: 345 kB / 0.7918 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.2304, allocations: 92.94 kB / 0.7919 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2305, allocations: 8 kB / 0.7919 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.2305, allocations: 8 kB / 0.7919 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2306, allocations: 27.91 kB / 0.7919 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.2306, allocations: 15.98 kB / 0.792 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.2307, allocations: 79.22 kB / 0.792 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2307, allocations: 0 / 0.792 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003727/0.231, allocations: 95.92 kB / 0.7921 GB, free: 3.879 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.001042/0.2321, allocations: 0.9776 MB / 0.7931 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.2325, allocations: 267.6 kB / 0.7933 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2325, allocations: 4 kB / 0.7933 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.2327, allocations: 143.8 kB / 0.7935 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.2329, allocations: 14.41 kB / 0.7935 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.2336, allocations: 476.9 kB / 0.7939 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.2339, allocations: 0.7139 MB / 0.7946 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.2341, allocations: 109.4 kB / 0.7947 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.2342, allocations: 43.42 kB / 0.7948 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2342, allocations: 0 / 0.7948 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/0.3593, allocations: 3.977 MB / 0.7987 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.3595, allocations: 264.5 kB / 0.7989 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.218, allocations: 0 / 0.7989 GB, free: 12.92 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)