Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.617/2.617, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001308/0.001308, allocations: 185.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001012/0.001012, allocations: 99.72 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007356/0.0007359, allocations: 13.55 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.237, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007451/0.2379, allocations: 326.6 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.2406, allocations: 1.685 MB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.2407, allocations: 0 / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.2408, allocations: 7.984 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-06/0.2408, allocations: 0 / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.242, allocations: 247.6 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.2422, allocations: 99.86 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.2423, allocations: 4 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.2423, allocations: 47.89 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2425, allocations: 55.88 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.2425, allocations: 8 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005988/0.2431, allocations: 267.6 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.2432, allocations: 43.89 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.2432, allocations: 33.7 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.2436, allocations: 171.7 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2436, allocations: 0 / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2436, allocations: 4 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2436, allocations: 0 / 0.9814 GB, free: 25.27 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.0007588/0.2444, allocations: 419.4 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2444, allocations: 12.02 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.149e-05/0.2445, allocations: 54.48 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.2446, allocations: 15.77 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.018e-05/0.2446, allocations: 163 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2447, allocations: 16 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.2447, allocations: 16 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.2452, allocations: 219.1 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2452, allocations: 4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2452, allocations: 4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.2453, allocations: 4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.2457, allocations: 175.7 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.246, allocations: 286 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.2471, allocations: 411.8 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.2474, allocations: 177.2 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.2478, allocations: 203.1 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2479, allocations: 42.5 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.616e-06/0.2479, allocations: 0 / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0009839/0.2489, allocations: 390.5 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.2489, allocations: 187.9 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.592e-05/0.249, allocations: 89.86 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.249, allocations: 29.7 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.751e-05/0.249, allocations: 80.7 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.2492, allocations: 102.5 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.2492, allocations: 4 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.2493, allocations: 330.8 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.2495, allocations: 83.92 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.2498, allocations: 137.1 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.2501, allocations: 111.9 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.2501, allocations: 4 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006738/0.2508, allocations: 285.6 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2508, allocations: 4 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2509, allocations: 7.938 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2509, allocations: 0 / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.2514, allocations: 63.89 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2514, allocations: 4 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.2516, allocations: 19.75 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.2516, allocations: 15.98 kB / 0.9853 GB, free: 20.78 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 0.0001342/0.2518, allocations: 137.7 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.2518, allocations: 7.906 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.2527, allocations: 364.7 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.2528, allocations: 8 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2528, allocations: 0.5625 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2528, allocations: 4 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.2531, allocations: 257.4 kB / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2531, allocations: 0 / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.2536, allocations: 59.89 kB / 0.9861 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.2536, allocations: 4 kB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2537, allocations: 11.98 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.2537, allocations: 4 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2537, allocations: 0 / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.2543, allocations: 349 kB / 0.9865 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.2544, allocations: 88.95 kB / 0.9866 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.2544, allocations: 8 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2546, allocations: 8 kB / 0.9866 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.2547, allocations: 23.95 kB / 0.9866 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.2547, allocations: 16 kB / 0.9866 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.833e-05/0.2547, allocations: 75.28 kB / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2548, allocations: 0 / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005269/0.2553, allocations: 91.98 kB / 0.9868 GB, free: 19.18 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.001408/0.2567, allocations: 0.9865 MB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000666/0.2574, allocations: 256 kB / 0.988 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2574, allocations: 3.938 kB / 0.988 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.2577, allocations: 139.8 kB / 0.9881 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.258, allocations: 16.14 kB / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.259, allocations: 462.7 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2592, allocations: 0.7127 MB / 0.9893 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004025/0.2597, allocations: 109.4 kB / 0.9894 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2598, allocations: 47.41 kB / 0.9894 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2598, allocations: 0 / 0.9894 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.2905, allocations: 3.758 MB / 0.9931 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.2909, allocations: 242.6 kB / 0.9933 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/3.109, allocations: 2.344 kB / 0.9933 GB, free: 12.52 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)