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.001372/0.001372, allocations: 101.4 kB / 15.7 MB, free: 28 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.001667/0.001667, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.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.706/1.706, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001353/0.001353, allocations: 68.06 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2051, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001676/0.2068, allocations: 0.6044 MB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.209, allocations: 1.746 MB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.209, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.209, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.258e-06/0.2091, allocations: 3.938 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.2099, allocations: 310 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.2101, allocations: 123.9 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.2101, allocations: 3.984 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.729e-05/0.2102, allocations: 39.98 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2103, allocations: 55.86 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2103, allocations: 7.938 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.2108, allocations: 346 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.2109, allocations: 43.89 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.2109, allocations: 43.78 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.2113, allocations: 271.3 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2113, allocations: 0 / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2113, allocations: 0 / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.2113, allocations: 4 kB / 0.7871 GB, free: 9.641 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.0006395/0.212, allocations: 439.4 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.212, allocations: 16.02 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.2121, allocations: 42.75 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.2121, allocations: 12.75 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.2122, allocations: 180 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2122, allocations: 8 kB / 0.7878 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2123, allocations: 12 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.2126, allocations: 218.7 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2126, allocations: 3.938 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2126, allocations: 8 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2126, allocations: 4 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.2129, allocations: 175.8 kB / 0.7882 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.2132, allocations: 286 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.2139, allocations: 411.8 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.2141, allocations: 177.2 kB / 0.789 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/0.2144, allocations: 199.1 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.2145, allocations: 46.55 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.2145, allocations: 0 / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006002/0.2151, allocations: 385.8 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.2152, allocations: 187.9 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.883e-05/0.2152, allocations: 89.86 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2152, allocations: 29.7 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.2152, allocations: 80.7 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.2153, allocations: 110.5 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.2154, allocations: 53.69 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.2155, allocations: 322.8 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.2156, allocations: 83.92 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2158, allocations: 141 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.2161, allocations: 269.8 kB / 0.7909 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2161, allocations: 4 kB / 0.7909 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003948/0.2165, allocations: 277.3 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2166, allocations: 8.938 kB / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2166, allocations: 384 / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2166, allocations: 4 kB / 0.7912 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2168, allocations: 63.83 kB / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2168, allocations: 8 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.2169, allocations: 19.75 kB / 0.7913 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.217, allocations: 15.98 kB / 0.7913 GB, free: 4.91 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.0001104/0.2171, allocations: 138.4 kB / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.2171, allocations: 11.91 kB / 0.7915 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.2177, allocations: 364.8 kB / 0.7918 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2177, allocations: 4 kB / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2177, allocations: 0 / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2177, allocations: 4 kB / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.2179, allocations: 257.4 kB / 0.7921 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.218, allocations: 0 / 0.7921 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2182, allocations: 55.89 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2182, allocations: 4 kB / 0.7921 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.2182, allocations: 11.98 kB / 0.7921 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2182, allocations: 4.375 kB / 0.7921 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2182, allocations: 0 / 0.7921 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.2186, allocations: 357.4 kB / 0.7925 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.2187, allocations: 92.95 kB / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.2187, allocations: 4 kB / 0.7926 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.2188, allocations: 8 kB / 0.7926 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.2189, allocations: 31.89 kB / 0.7926 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.2189, allocations: 12 kB / 0.7926 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.2189, allocations: 79.33 kB / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2189, allocations: 0 / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000336/0.2192, allocations: 95.92 kB / 0.7928 GB, free: 3.289 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.0009711/0.2202, allocations: 0.9845 MB / 0.7938 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.2206, allocations: 248.3 kB / 0.794 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2206, allocations: 0 / 0.794 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.2208, allocations: 140.5 kB / 0.7941 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.221, allocations: 23.94 kB / 0.7941 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.2217, allocations: 440 kB / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.2219, allocations: 0.7085 MB / 0.7953 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.2221, allocations: 109.4 kB / 0.7954 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.2222, allocations: 43.41 kB / 0.7954 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2222, allocations: 4 kB / 0.7954 GB, free: 500 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.2413, allocations: 4.062 MB / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.749, allocations: 14.8 kB / 0.7994 GB, free: 12.52 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)