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.768/2.768, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001757/0.001756, allocations: 186.5 kB / 370.8 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.155/2.155, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001161/0.001161, allocations: 103.9 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000658/0.0006582, allocations: 17.69 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2343, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007603/0.2351, allocations: 328.9 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.2378, allocations: 1.645 MB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.2379, allocations: 0 / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.238, allocations: 11.94 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-06/0.238, allocations: 0 / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2391, allocations: 234.3 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.2393, allocations: 83.89 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.2393, allocations: 11.92 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.2394, allocations: 35.98 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2395, allocations: 55.92 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2396, allocations: 4 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.2401, allocations: 255.6 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.2402, allocations: 35.95 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.2403, allocations: 37.64 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.2406, allocations: 179.7 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2406, allocations: 4 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2406, allocations: 3.938 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.2406, allocations: 0 / 0.9811 GB, free: 25.38 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.0007427/0.2414, allocations: 423.4 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2414, allocations: 12.02 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.2415, allocations: 46.55 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.2415, allocations: 23.77 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.2416, allocations: 167 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2417, allocations: 8 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.2417, allocations: 12 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.2421, allocations: 223.1 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2422, allocations: 4 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.2422, allocations: 8 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2422, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.2426, allocations: 179.7 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.243, allocations: 274.1 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2441, allocations: 411.8 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/0.2445, allocations: 203.3 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2446, allocations: 42.55 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 4.78e-06/0.2446, allocations: 0 / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0009796/0.2456, allocations: 382.4 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.2456, allocations: 191.9 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.527e-05/0.2457, allocations: 93.86 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2457, allocations: 29.7 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.842e-05/0.2457, allocations: 84.7 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.2459, allocations: 98.55 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.2459, allocations: 4 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.246, allocations: 326.8 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2462, allocations: 83.92 kB / 0.9843 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.2465, allocations: 133.1 kB / 0.9844 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.2467, allocations: 115.9 kB / 0.9845 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2468, allocations: 0 / 0.9845 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006614/0.2474, allocations: 281.6 kB / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2475, allocations: 4 kB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2475, allocations: 4 kB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.2475, allocations: 7.984 kB / 0.9848 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.248, allocations: 55.91 kB / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2481, allocations: 7.938 kB / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.2482, allocations: 19.75 kB / 0.9849 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2483, allocations: 19.92 kB / 0.9849 GB, free: 21.1 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.0001428/0.2484, allocations: 135.8 kB / 0.9851 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.2485, allocations: 7.906 kB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008864/0.2494, allocations: 365.3 kB / 0.9854 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2494, allocations: 11.94 kB / 0.9854 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2494, allocations: 128 / 0.9854 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.2494, allocations: 8 kB / 0.9854 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.2498, allocations: 257.4 kB / 0.9857 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2498, allocations: 3.984 kB / 0.9857 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.2502, allocations: 55.91 kB / 0.9857 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.2502, allocations: 0 / 0.9857 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.2503, allocations: 11.98 kB / 0.9857 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2503, allocations: 4 kB / 0.9857 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.2503, allocations: 7.938 kB / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.251, allocations: 393.7 kB / 0.9861 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.2511, allocations: 92.91 kB / 0.9862 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2511, allocations: 11.98 kB / 0.9862 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2513, allocations: 8 kB / 0.9862 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.2514, allocations: 27.91 kB / 0.9863 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.2514, allocations: 8 kB / 0.9863 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.951e-05/0.2514, allocations: 79.27 kB / 0.9863 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2514, allocations: 0 / 0.9863 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005989/0.252, allocations: 96 kB / 0.9864 GB, free: 19.41 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.00153/0.2536, allocations: 1.375 MB / 0.9878 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006307/0.2543, allocations: 260 kB / 0.988 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2543, allocations: 4 kB / 0.988 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.2546, allocations: 139.8 kB / 0.9882 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.2547, allocations: 11.94 kB / 0.9882 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2558, allocations: 457.9 kB / 0.9886 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.2561, allocations: 0.7127 MB / 0.9893 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004086/0.2565, allocations: 109.4 kB / 0.9894 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.2566, allocations: 47.34 kB / 0.9895 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.2566, allocations: 0 / 0.9895 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.2843, allocations: 3.763 MB / 0.9931 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.2847, allocations: 229.1 kB / 0.9934 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/2.872, allocations: 0 / 0.9934 GB, free: 12.34 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)