Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.802/1.802, allocations: 288.2 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 183.7 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.6305 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.0009157, allocations: 102.8 kB / 0.7439 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 13.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007585/0.2619, allocations: 325 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2639, allocations: 1.659 MB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.2639, allocations: 0 / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.264, allocations: 0 / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.264, allocations: 0 / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.2647, allocations: 231.2 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2648, allocations: 87.88 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.2649, allocations: 4 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.2649, allocations: 43.95 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.265, allocations: 55.88 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.2651, allocations: 4 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.2654, allocations: 251.7 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.2654, allocations: 43.89 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.2655, allocations: 37.64 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2657, allocations: 175.7 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.2657, allocations: 0 / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2657, allocations: 4 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2657, allocations: 0 / 0.9823 GB, free: 24.68 MB / 0.6198 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.0005399/0.2663, allocations: 423.4 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2663, allocations: 16 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.2664, allocations: 46.56 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.2664, allocations: 11.81 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.059e-05/0.2665, allocations: 174.9 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2665, allocations: 12 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.2665, allocations: 12 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.2668, allocations: 219.1 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2668, allocations: 0 / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2669, allocations: 8 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2669, allocations: 4 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.2671, allocations: 179.7 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.2674, allocations: 282 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.2679, allocations: 415.8 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.2682, allocations: 195.2 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2683, allocations: 42.56 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.2683, allocations: 0 / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005294/0.2688, allocations: 386.4 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.2689, allocations: 187.9 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.702e-05/0.2689, allocations: 89.86 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2689, allocations: 33.7 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.269, allocations: 80.7 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.269, allocations: 102.5 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.2691, allocations: 4 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.2691, allocations: 322.8 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2692, allocations: 83.94 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2694, allocations: 137 kB / 0.9856 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2695, allocations: 111.9 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2695, allocations: 0 / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000329/0.2699, allocations: 289.6 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2699, allocations: 12 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2699, allocations: 0 / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2699, allocations: 4 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.2701, allocations: 59.83 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.2701, allocations: 4 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/0.2702, allocations: 19.75 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2703, allocations: 15.98 kB / 0.9861 GB, free: 20.39 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/0.2704, allocations: 137.7 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.2704, allocations: 11.91 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.2709, allocations: 361.3 kB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2709, allocations: 7.984 kB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2709, allocations: 4.125 kB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2709, allocations: 4 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2711, allocations: 253.4 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2711, allocations: 3.953 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.2713, allocations: 59.89 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2713, allocations: 0 / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2713, allocations: 12 kB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2714, allocations: 4 kB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2714, allocations: 4 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.2717, allocations: 397.6 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.2718, allocations: 92.95 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.2718, allocations: 7.953 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.2719, allocations: 11.94 kB / 0.9874 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.2719, allocations: 23.97 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.272, allocations: 15.98 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.745e-05/0.272, allocations: 75.28 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.272, allocations: 0 / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003687/0.2724, allocations: 91.98 kB / 0.9876 GB, free: 18.7 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009348/0.2733, allocations: 1.383 MB / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.2737, allocations: 256 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2737, allocations: 0 / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2738, allocations: 139.7 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.2739, allocations: 9.031 kB / 0.9894 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.2746, allocations: 461.9 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.2748, allocations: 0.7127 MB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.275, allocations: 113.4 kB / 0.9906 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.2751, allocations: 35.42 kB / 0.9906 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2751, allocations: 0 / 0.9906 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.2892, allocations: 3.775 MB / 0.9943 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.2894, allocations: 257.8 kB / 0.9946 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.884, allocations: 0 / 0.9946 GB, free: 11.57 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)