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.543/1.543, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001106/0.001106, allocations: 174.1 kB / 326.5 MB, free: 2.254 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.968/1.968, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009715/0.0009715, allocations: 94.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 12.97 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007743/0.2528, allocations: 324.4 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2552, allocations: 1.663 MB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.2553, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.2553, allocations: 4 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-06/0.2554, allocations: 4 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/0.2563, allocations: 234.5 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2565, allocations: 83.89 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.564e-05/0.2566, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.2566, allocations: 47.89 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2567, allocations: 51.94 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.2568, allocations: 4 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.2572, allocations: 255.7 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.2572, allocations: 35.91 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.2573, allocations: 33.64 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.2576, allocations: 179.7 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2576, allocations: 4 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2576, allocations: 0 / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2576, allocations: 0 / 0.903 GB, free: 60.9 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.0006755/0.2583, allocations: 415.5 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.2583, allocations: 8.031 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.2584, allocations: 50.55 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.2584, allocations: 15.86 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.16e-05/0.2585, allocations: 167 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2586, allocations: 8 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2586, allocations: 15.98 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.2589, allocations: 218.6 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2589, allocations: 7.938 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.259, allocations: 8 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.259, allocations: 0 / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.2592, allocations: 183.7 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.2595, allocations: 278 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.2602, allocations: 407.8 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.2605, allocations: 203.2 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2606, allocations: 38.56 kB / 0.9049 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.482e-06/0.2606, allocations: 0 / 0.9049 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0005769/0.2611, allocations: 385.5 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.2612, allocations: 187.9 kB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.443e-05/0.2613, allocations: 89.86 kB / 0.9056 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2613, allocations: 33.7 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.2613, allocations: 80.7 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.594e-05/0.2614, allocations: 106.4 kB / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.2615, allocations: 4 kB / 0.9058 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.2616, allocations: 326.8 kB / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.2617, allocations: 87.86 kB / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2618, allocations: 141.6 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.262, allocations: 113 kB / 0.9064 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.262, allocations: 4 kB / 0.9064 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003497/0.2623, allocations: 281.3 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.2624, allocations: 6.656 kB / 0.9067 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2624, allocations: 4 kB / 0.9067 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2624, allocations: 0 / 0.9067 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2626, allocations: 63.89 kB / 0.9067 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2627, allocations: 4 kB / 0.9068 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.2628, allocations: 15.84 kB / 0.9068 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.2628, allocations: 15.98 kB / 0.9068 GB, free: 56.62 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 0.0001223/0.2629, allocations: 137.7 kB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2629, allocations: 7.906 kB / 0.9069 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.2635, allocations: 369.3 kB / 0.9073 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2635, allocations: 8 kB / 0.9073 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2635, allocations: 0 / 0.9073 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2635, allocations: 4 kB / 0.9073 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2637, allocations: 253.4 kB / 0.9075 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2638, allocations: 3.938 kB / 0.9075 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.264, allocations: 59.89 kB / 0.9076 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.264, allocations: 0 / 0.9076 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.264, allocations: 11.98 kB / 0.9076 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.264, allocations: 4 kB / 0.9076 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.264, allocations: 0 / 0.9076 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.2645, allocations: 413.5 kB / 0.908 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.2645, allocations: 92.89 kB / 0.9081 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.2645, allocations: 8 kB / 0.9081 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.2646, allocations: 15.92 kB / 0.9081 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.2647, allocations: 23.97 kB / 0.9081 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2647, allocations: 8 kB / 0.9081 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.018e-05/0.2647, allocations: 75.28 kB / 0.9082 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.273e-06/0.2647, allocations: 0 / 0.9082 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003908/0.2651, allocations: 99.92 kB / 0.9083 GB, free: 54.91 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.00112/0.2663, allocations: 1.378 MB / 0.9097 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.2666, allocations: 244.7 kB / 0.9099 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2666, allocations: 4 kB / 0.9099 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.2668, allocations: 135.8 kB / 0.91 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.2669, allocations: 13.3 kB / 0.91 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.2676, allocations: 465.8 kB / 0.9105 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2678, allocations: 0.7181 MB / 0.9112 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.268, allocations: 109.4 kB / 0.9113 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.2681, allocations: 39.41 kB / 0.9113 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2681, allocations: 0 / 0.9113 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.282, allocations: 3.767 MB / 0.915 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.2822, allocations: 247 kB / 0.9152 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.953, allocations: 0 / 0.9152 GB, free: 47.81 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)