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.659/2.659, allocations: 287.3 MB / 302.3 MB, free: 8.398 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.001633/0.001633, allocations: 179.3 kB / 370.8 MB, free: 10.85 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.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001251/0.001251, allocations: 89.62 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006521, allocations: 13.22 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.22, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9067/1.127, allocations: 140.4 MB / 1.115 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.127, allocations: 86.62 kB / 1.115 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07173/1.199, allocations: 14.9 MB / 1.13 GB, free: 29.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/1.199, allocations: 0 / 1.13 GB, free: 29.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.178e-05/1.199, allocations: 3.844 kB / 1.13 GB, free: 29.66 MB / 0.698 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.001117/1.2, allocations: 439.7 kB / 1.13 GB, free: 29.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.2, allocations: 15.67 kB / 1.13 GB, free: 29.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.079e-05/1.2, allocations: 45.83 kB / 1.131 GB, free: 29.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/1.2, allocations: 7.75 kB / 1.131 GB, free: 29.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/1.2, allocations: 182.4 kB / 1.131 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/1.2, allocations: 7.031 kB / 1.131 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/1.2, allocations: 10.69 kB / 1.131 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/1.201, allocations: 215.4 kB / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.201, allocations: 0 / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/1.201, allocations: 10.69 kB / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/1.201, allocations: 3.875 kB / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/1.201, allocations: 171.6 kB / 1.131 GB, free: 28.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/1.202, allocations: 291.1 kB / 1.131 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.203, allocations: 411.4 kB / 1.132 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004891/1.204, allocations: 200.4 kB / 1.132 GB, free: 28.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.204, allocations: 38.09 kB / 1.132 GB, free: 28.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 3.026e-06/1.204, allocations: 7.938 kB / 1.132 GB, free: 28.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001243/1.205, allocations: 379.9 kB / 1.132 GB, free: 27.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/1.205, allocations: 191.6 kB / 1.133 GB, free: 27.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.748e-05/1.205, allocations: 88.84 kB / 1.133 GB, free: 27.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/1.205, allocations: 28.77 kB / 1.133 GB, free: 27.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/1.205, allocations: 80.7 kB / 1.133 GB, free: 27.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.205, allocations: 97.39 kB / 1.133 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/1.205, allocations: 10.81 kB / 1.133 GB, free: 27.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.206, allocations: 326.5 kB / 1.133 GB, free: 27.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/1.206, allocations: 87.25 kB / 1.133 GB, free: 27.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/1.206, allocations: 135.2 kB / 1.133 GB, free: 27.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/1.206, allocations: 108.4 kB / 1.133 GB, free: 27.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.206, allocations: 3.953 kB / 1.133 GB, free: 27.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007642/1.207, allocations: 287 kB / 1.134 GB, free: 26.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/1.207, allocations: 7.688 kB / 1.134 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.207, allocations: 0 / 1.134 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.207, allocations: 3.875 kB / 1.134 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/1.208, allocations: 57.91 kB / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.208, allocations: 3.984 kB / 1.134 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/1.208, allocations: 22.81 kB / 1.134 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/1.208, allocations: 8.062 kB / 1.134 GB, free: 26.93 MB / 0.698 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.0001926/1.208, allocations: 143.9 kB / 1.134 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/1.208, allocations: 19.58 kB / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/1.209, allocations: 360 kB / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.018e-06/1.209, allocations: 3.875 kB / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.209, allocations: 3.875 kB / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.209, allocations: 3.984 kB / 1.134 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/1.21, allocations: 248.2 kB / 1.135 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.21, allocations: 3.875 kB / 1.135 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/1.21, allocations: 62.2 kB / 1.135 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.21, allocations: 7.984 kB / 1.135 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/1.21, allocations: 11 kB / 1.135 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.21, allocations: 0 / 1.135 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.21, allocations: 3.844 kB / 1.135 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/1.211, allocations: 398.2 kB / 1.135 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/1.211, allocations: 92.78 kB / 1.135 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/1.211, allocations: 22.58 kB / 1.135 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/1.212, allocations: 7.125 kB / 1.135 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/1.212, allocations: 27.03 kB / 1.135 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/1.212, allocations: 11.67 kB / 1.135 GB, free: 26.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.585e-05/1.212, allocations: 75.28 kB / 1.135 GB, free: 25.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.212, allocations: 0 / 1.135 GB, free: 25.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007055/1.213, allocations: 111.2 kB / 1.135 GB, free: 25.94 MB / 0.698 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.002196/1.215, allocations: 1.391 MB / 1.137 GB, free: 24.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007358/1.216, allocations: 242.5 kB / 1.137 GB, free: 24.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.216, allocations: 0 / 1.137 GB, free: 24.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/1.216, allocations: 142.1 kB / 1.137 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/1.216, allocations: 9.359 kB / 1.137 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.217, allocations: 473.7 kB / 1.138 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/1.218, allocations: 0.7232 MB / 1.138 GB, free: 23.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004403/1.218, allocations: 110.9 kB / 1.138 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/1.218, allocations: 43.25 kB / 1.138 GB, free: 23.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.218, allocations: 0 / 1.138 GB, free: 23.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/1.247, allocations: 3.609 MB / 1.142 GB, free: 21.92 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/1.247, allocations: 234.5 kB / 1.142 GB, free: 21.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.779, allocations: 0 / 1.142 GB, free: 21.68 MB / 0.698 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)