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.685/1.685, allocations: 288.4 MB / 303.3 MB, free: 8.098 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.001109/0.001109, allocations: 181.4 kB / 372 MB, free: 10.29 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.892/1.892, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0009402/0.0009401, allocations: 97.3 kB / 0.7441 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004543, allocations: 13.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2474, allocations: 115.3 MB / 0.9797 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008995/0.2484, allocations: 326.8 kB / 0.98 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.2507, allocations: 1.688 MB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.2508, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.2508, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.125e-05/0.2508, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.2516, allocations: 251.5 kB / 0.9819 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.2518, allocations: 95.88 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.2518, allocations: 7.938 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.2519, allocations: 47.89 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.252, allocations: 59.88 kB / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.252, allocations: 4 kB / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.2524, allocations: 267.7 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.2525, allocations: 39.89 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.2525, allocations: 37.7 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.2527, allocations: 171.7 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2528, allocations: 0 / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2528, allocations: 0 / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2528, allocations: 0 / 0.9826 GB, free: 24.61 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.0006506/0.2534, allocations: 423.4 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.2535, allocations: 16.02 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.2535, allocations: 46.5 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2536, allocations: 15.81 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2537, allocations: 175 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2537, allocations: 8 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.2538, allocations: 15.94 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.2541, allocations: 219.2 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2541, allocations: 0 / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.2541, allocations: 4 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2542, allocations: 4 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.2544, allocations: 187.6 kB / 0.9836 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.2547, allocations: 286 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.2553, allocations: 403.8 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.2555, allocations: 181.2 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.2558, allocations: 195.2 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2559, allocations: 50.48 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.2559, allocations: 0 / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0006001/0.2565, allocations: 382.5 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.2565, allocations: 187.9 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.142e-05/0.2566, allocations: 89.86 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2566, allocations: 33.7 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.608e-05/0.2566, allocations: 84.7 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.2567, allocations: 98.55 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2567, allocations: 4 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.2568, allocations: 326.8 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2569, allocations: 87.92 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2571, allocations: 137.1 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2572, allocations: 115.9 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2572, allocations: 0 / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003355/0.2576, allocations: 281.6 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2576, allocations: 8 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2576, allocations: 3.938 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2576, allocations: 7.984 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2578, allocations: 55.91 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2578, allocations: 4 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/0.2579, allocations: 19.75 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.258, allocations: 15.98 kB / 0.9865 GB, free: 20.12 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.246e-05/0.2581, allocations: 139 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.2581, allocations: 15.91 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.2586, allocations: 361.2 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2586, allocations: 4 kB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2586, allocations: 4 kB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2586, allocations: 0 / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2588, allocations: 253.4 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2588, allocations: 11.98 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.259, allocations: 59.91 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.259, allocations: 7.938 kB / 0.9874 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.259, allocations: 11.98 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.259, allocations: 0 / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.259, allocations: 4 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.2594, allocations: 333.1 kB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.2594, allocations: 96.91 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2595, allocations: 4 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.2595, allocations: 11.98 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.2596, allocations: 23.97 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2596, allocations: 8 kB / 0.9878 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.357e-05/0.2596, allocations: 79.28 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2596, allocations: 0 / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000306/0.2599, allocations: 95.98 kB / 0.988 GB, free: 18.52 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.0008387/0.2608, allocations: 0.9875 MB / 0.989 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.2611, allocations: 248 kB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2611, allocations: 3.938 kB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2613, allocations: 143.8 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.2614, allocations: 17.5 kB / 0.9893 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.2621, allocations: 461.8 kB / 0.9898 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2622, allocations: 0.7127 MB / 0.9905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.2624, allocations: 109.4 kB / 0.9906 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.2625, allocations: 39.41 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2625, allocations: 0 / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.2767, allocations: 3.77 MB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.2769, allocations: 260.4 kB / 0.9946 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.241, allocations: 0 / 0.9946 GB, free: 11.75 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)