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.671/1.671, allocations: 288.4 MB / 303.6 MB, free: 7.973 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.0009739/0.0009741, allocations: 187.1 kB / 372.2 MB, free: 10.12 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.569/1.569, allocations: 205.4 MB / 0.631 GB, free: 9.805 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.0009528/0.0009529, allocations: 94.34 kB / 0.7444 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004656, allocations: 17.16 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2426, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008176/0.2434, allocations: 326.8 kB / 0.9805 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.2458, allocations: 1.688 MB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.2458, allocations: 3.938 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.2459, allocations: 7.984 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.456e-06/0.2459, allocations: 0 / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.2469, allocations: 247.6 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.247, allocations: 103.8 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.2471, allocations: 4 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.2471, allocations: 43.95 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2473, allocations: 59.92 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2473, allocations: 4 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.2478, allocations: 260.4 kB / 0.9829 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.2479, allocations: 39.89 kB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.21e-05/0.248, allocations: 73.48 kB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.2484, allocations: 167.7 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2484, allocations: 4 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2485, allocations: 4 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.2485, allocations: 0 / 0.9831 GB, free: 24.22 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.0006467/0.2491, allocations: 419.6 kB / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.2492, allocations: 8.031 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.2492, allocations: 46.75 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.2493, allocations: 16.75 kB / 0.9836 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.2494, allocations: 176 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2494, allocations: 8 kB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2494, allocations: 12 kB / 0.9838 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.2497, allocations: 219.1 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2498, allocations: 4 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.2498, allocations: 11.98 kB / 0.984 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2498, allocations: 7.938 kB / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.25, allocations: 179.7 kB / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.2503, allocations: 278 kB / 0.9845 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.251, allocations: 411.8 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.2512, allocations: 177.2 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.2515, allocations: 199.2 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2515, allocations: 46.48 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.2515, allocations: 4 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005647/0.2521, allocations: 377.2 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.2522, allocations: 191.9 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.463e-05/0.2523, allocations: 89.86 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2523, allocations: 29.7 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.45e-05/0.2523, allocations: 80.7 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/0.2524, allocations: 98.55 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.2524, allocations: 8 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.2525, allocations: 326.8 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2526, allocations: 95.86 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2527, allocations: 129.1 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.253, allocations: 266.3 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.253, allocations: 4 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003385/0.2534, allocations: 281.6 kB / 0.9871 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2534, allocations: 8 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2534, allocations: 0 / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2535, allocations: 4 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.2537, allocations: 59.95 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2537, allocations: 4 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.94e-05/0.2538, allocations: 19.75 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.2538, allocations: 11.98 kB / 0.9872 GB, free: 19.58 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 9.612e-05/0.2539, allocations: 151.2 kB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.2539, allocations: 11.91 kB / 0.9874 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.2544, allocations: 352.8 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2545, allocations: 4 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2545, allocations: 4 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2545, allocations: 0 / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.2547, allocations: 257.3 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2547, allocations: 0 / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.2549, allocations: 63.89 kB / 0.988 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2549, allocations: 8 kB / 0.9881 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.2549, allocations: 11.98 kB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2549, allocations: 4.312 kB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.255, allocations: 7.984 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.2553, allocations: 341 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.2554, allocations: 100.9 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2554, allocations: 0 / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.2555, allocations: 8 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.2555, allocations: 27.95 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2556, allocations: 12 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.047e-05/0.2556, allocations: 79.22 kB / 0.9886 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2556, allocations: 4 kB / 0.9886 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003861/0.256, allocations: 91.98 kB / 0.9887 GB, free: 17.96 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.0009797/0.257, allocations: 0.985 MB / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.2573, allocations: 240.7 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2573, allocations: 3.938 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.2575, allocations: 144.5 kB / 0.99 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.2577, allocations: 15.94 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.2583, allocations: 462 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.2585, allocations: 0.7204 MB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.2587, allocations: 109.4 kB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.2588, allocations: 43.41 kB / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2588, allocations: 0 / 0.9914 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.196/0.4548, allocations: 3.782 MB / 0.995 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.455, allocations: 247.1 kB / 0.9953 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.504, allocations: 0 / 0.9953 GB, free: 11.19 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)