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.421/1.421, allocations: 252 MB / 267.3 MB, free: 10.83 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.001163/0.001163, allocations: 180.9 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0009219/0.000922, allocations: 81.52 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 16.89 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2629, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0009393/0.2639, allocations: 337.1 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.2668, allocations: 1.782 MB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.2668, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.2669, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.2669, allocations: 4 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2681, allocations: 246.2 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.2683, allocations: 119.9 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.2683, allocations: 3.938 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.2684, allocations: 47.91 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2685, allocations: 51.94 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.2686, allocations: 4 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006437/0.2692, allocations: 299 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.2693, allocations: 39.89 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.2694, allocations: 69.48 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.27, allocations: 267.4 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.27, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.966e-06/0.27, allocations: 4 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.27, allocations: 0 / 0.9041 GB, free: 59.97 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.0007136/0.2707, allocations: 415.7 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.2708, allocations: 12.03 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.584e-05/0.2709, allocations: 46.73 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.2709, allocations: 8.844 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.271, allocations: 180.2 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2711, allocations: 12.36 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.2711, allocations: 19.88 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.2714, allocations: 210.6 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2715, allocations: 0 / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2715, allocations: 8 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2715, allocations: 4 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.2717, allocations: 179.8 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.2721, allocations: 274.1 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.2728, allocations: 415.7 kB / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.273, allocations: 185.1 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/0.2734, allocations: 195.2 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2735, allocations: 38.56 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.2735, allocations: 0 / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0006534/0.2741, allocations: 389.9 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.2742, allocations: 187.9 kB / 0.9067 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.306e-05/0.2743, allocations: 89.86 kB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2743, allocations: 33.64 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.2743, allocations: 80.7 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.2744, allocations: 106.4 kB / 0.907 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.2745, allocations: 8 kB / 0.907 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.2746, allocations: 322.8 kB / 0.9074 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2747, allocations: 87.92 kB / 0.9074 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.2748, allocations: 141.6 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.2752, allocations: 261.7 kB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2752, allocations: 3.938 kB / 0.9078 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004012/0.2756, allocations: 289.3 kB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2756, allocations: 4 kB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2756, allocations: 4 kB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.2756, allocations: 0 / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.2759, allocations: 63.89 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2759, allocations: 4 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.81e-05/0.276, allocations: 15.84 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.276, allocations: 12.36 kB / 0.9082 GB, free: 55.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.2762, allocations: 133.8 kB / 0.9083 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.2762, allocations: 15.84 kB / 0.9083 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.2767, allocations: 368.7 kB / 0.9087 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2768, allocations: 4 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.2768, allocations: 11.92 kB / 0.9087 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2768, allocations: 0 / 0.9087 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.277, allocations: 253.4 kB / 0.909 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.277, allocations: 0 / 0.909 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.2772, allocations: 63.89 kB / 0.909 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2773, allocations: 4 kB / 0.909 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.2773, allocations: 15.98 kB / 0.909 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2773, allocations: 0 / 0.909 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2773, allocations: 4 kB / 0.909 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.2777, allocations: 345.4 kB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.2778, allocations: 92.89 kB / 0.9095 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2778, allocations: 12 kB / 0.9095 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.2779, allocations: 4 kB / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.278, allocations: 31.89 kB / 0.9095 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.278, allocations: 8 kB / 0.9095 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.278, allocations: 83.28 kB / 0.9096 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.278, allocations: 0 / 0.9096 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004261/0.2785, allocations: 91.98 kB / 0.9097 GB, free: 53.7 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 (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.001101/0.2796, allocations: 0.9857 MB / 0.9106 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.2799, allocations: 240.7 kB / 0.9109 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2799, allocations: 0 / 0.9109 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.2801, allocations: 140.9 kB / 0.911 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.2803, allocations: 16 kB / 0.911 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.2811, allocations: 474.1 kB / 0.9115 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2813, allocations: 0.7166 MB / 0.9122 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.2815, allocations: 105.4 kB / 0.9123 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.2816, allocations: 51.41 kB / 0.9123 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.2816, allocations: 0 / 0.9123 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.299, allocations: 3.824 MB / 0.9161 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.2993, allocations: 271.7 kB / 0.9163 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.222, allocations: 0 / 0.9163 GB, free: 46.86 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)