Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001025, allocations: 175.5 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007782/0.0007782, allocations: 94.69 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 10.34 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007859/0.256, allocations: 329.4 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.2581, allocations: 1.7 MB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.2582, allocations: 0 / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.2582, allocations: 0 / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.2582, allocations: 0 / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.259, allocations: 248 kB / 0.9025 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.2592, allocations: 103.9 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.2592, allocations: 0 / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.2593, allocations: 39.97 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.2594, allocations: 67.86 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2594, allocations: 4 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.2598, allocations: 270.7 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.2598, allocations: 31.97 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.2599, allocations: 37.64 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2601, allocations: 187.6 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2601, allocations: 0 / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2601, allocations: 0 / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2601, allocations: 0 / 0.9032 GB, free: 61.21 MB / 0.6042 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.0005553/0.2607, allocations: 415.5 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2607, allocations: 12.03 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.2608, allocations: 46.55 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.2608, allocations: 11.86 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.704e-05/0.2609, allocations: 171 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2609, allocations: 8 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.2609, allocations: 12 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.2612, allocations: 218.6 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2613, allocations: 0 / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.2613, allocations: 4 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2613, allocations: 4 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.2615, allocations: 183.7 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.2618, allocations: 278.1 kB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.2624, allocations: 403.8 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2626, allocations: 181.2 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.2629, allocations: 207.1 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.263, allocations: 46.5 kB / 0.9053 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.313e-06/0.263, allocations: 0 / 0.9053 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0005483/0.2635, allocations: 377.2 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.2636, allocations: 187.9 kB / 0.9059 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.186e-05/0.2636, allocations: 93.86 kB / 0.906 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2637, allocations: 33.7 kB / 0.906 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.678e-05/0.2637, allocations: 80.7 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.2638, allocations: 110.4 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.2638, allocations: 4 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.2639, allocations: 326.7 kB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.264, allocations: 87.92 kB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2641, allocations: 149.6 kB / 0.9067 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2643, allocations: 113.4 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2643, allocations: 0 / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003353/0.2647, allocations: 281.3 kB / 0.9071 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2647, allocations: 10.19 kB / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2647, allocations: 0 / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2647, allocations: 4 kB / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2649, allocations: 55.91 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2649, allocations: 8 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.265, allocations: 19.83 kB / 0.9072 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.2651, allocations: 8 kB / 0.9072 GB, free: 56.74 MB / 0.6042 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 9.864e-05/0.2652, allocations: 141.7 kB / 0.9073 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.2652, allocations: 15.91 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.2657, allocations: 353.2 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2657, allocations: 4 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2657, allocations: 8 kB / 0.9077 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2657, allocations: 3.984 kB / 0.9077 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2659, allocations: 257.3 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2659, allocations: 0 / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.2661, allocations: 55.97 kB / 0.908 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2661, allocations: 4 kB / 0.908 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.2662, allocations: 11.98 kB / 0.908 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2662, allocations: 3.938 kB / 0.908 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2662, allocations: 4 kB / 0.908 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.2666, allocations: 337 kB / 0.9083 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.2666, allocations: 100.9 kB / 0.9084 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2666, allocations: 4 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.2667, allocations: 8.375 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.2668, allocations: 27.97 kB / 0.9085 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.2668, allocations: 11.98 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.54e-05/0.2668, allocations: 83.22 kB / 0.9086 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2668, allocations: 0 / 0.9086 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003459/0.2672, allocations: 99.88 kB / 0.9087 GB, free: 55.12 MB / 0.6042 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.0008978/0.2681, allocations: 0.9865 MB / 0.9096 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.2684, allocations: 236.8 kB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2685, allocations: 7.938 kB / 0.9099 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2686, allocations: 139.8 kB / 0.91 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.2688, allocations: 15.98 kB / 0.91 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/0.2695, allocations: 455.4 kB / 0.9104 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.2696, allocations: 0.7166 MB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000209/0.2698, allocations: 105.4 kB / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.2699, allocations: 43.41 kB / 0.9113 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.2699, allocations: 0 / 0.9113 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.2841, allocations: 3.776 MB / 0.915 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.2843, allocations: 246.6 kB / 0.9152 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.103, allocations: 3.938 kB / 0.9152 GB, free: 48.37 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)