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.553/2.553, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001506/0.001505, allocations: 184.8 kB / 360.6 MB, free: 7.289 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.106/2.106, allocations: 205.3 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 100.2 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.963e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8062, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/1.075, allocations: 139.6 MB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.075, allocations: 86.78 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07637/1.152, allocations: 14.85 MB / 1.114 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/1.152, allocations: 0 / 1.114 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.152, allocations: 0 / 1.114 GB, free: 1.957 MB / 0.7136 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.0009692/1.153, allocations: 434 kB / 1.115 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.153, allocations: 8.031 kB / 1.115 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/1.153, allocations: 21.02 kB / 1.115 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.153, allocations: 174.9 kB / 1.115 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/1.153, allocations: 4 kB / 1.115 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/1.153, allocations: 8 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004702/1.154, allocations: 159.1 kB / 1.115 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/1.154, allocations: 199.8 kB / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.154, allocations: 8 kB / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/1.154, allocations: 0 / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/1.154, allocations: 4 kB / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/1.155, allocations: 240.2 kB / 1.116 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.156, allocations: 395.9 kB / 1.116 GB, free: 136 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/1.156, allocations: 173.3 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004225/1.157, allocations: 191.4 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.157, allocations: 42.5 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/1.157, allocations: 0 / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0009413/1.158, allocations: 262.9 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.158, allocations: 191.9 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/1.158, allocations: 85 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/1.158, allocations: 25.7 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/1.158, allocations: 84.7 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.158, allocations: 94.56 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/1.158, allocations: 0 / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.158, allocations: 326.8 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/1.158, allocations: 83.95 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/1.159, allocations: 121.1 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/1.159, allocations: 105.8 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.159, allocations: 0 / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008705/1.16, allocations: 274.2 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.16, allocations: 4 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.16, allocations: 11.98 kB / 1.118 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.16, allocations: 0 / 1.118 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/1.161, allocations: 59.91 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.161, allocations: 0 / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/1.161, allocations: 19.69 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/1.161, allocations: 15.98 kB / 1.118 GB, free: 13.85 MB / 0.7292 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 () * 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.0001237/1.161, allocations: 108.7 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008935/1.162, allocations: 277.9 kB / 1.118 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/1.162, allocations: 7.906 kB / 1.118 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/1.163, allocations: 335.1 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.163, allocations: 4 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.163, allocations: 2.156 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.163, allocations: 11.92 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/1.164, allocations: 214 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.164, allocations: 0 / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/1.164, allocations: 55.91 kB / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/1.164, allocations: 11.94 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/1.164, allocations: 10.62 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.164, allocations: 7.938 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.164, allocations: 4 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/1.165, allocations: 378.2 kB / 1.119 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/1.165, allocations: 92.86 kB / 1.119 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/1.165, allocations: 4 kB / 1.119 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/1.165, allocations: 3.953 kB / 1.119 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/1.165, allocations: 27.91 kB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/1.166, allocations: 15.98 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.852e-05/1.166, allocations: 75.28 kB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-07/1.166, allocations: 0 / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006955/1.166, allocations: 103.9 kB / 1.12 GB, free: 12.01 MB / 0.7292 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 () * 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.0021/1.168, allocations: 1.374 MB / 1.121 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006302/1.169, allocations: 219.8 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.169, allocations: 0 / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/1.169, allocations: 130.8 kB / 1.121 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/1.17, allocations: 11.3 kB / 1.121 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/1.171, allocations: 359.8 kB / 1.122 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/1.171, allocations: 0.7163 MB / 1.122 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004913/1.172, allocations: 106.7 kB / 1.123 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/1.172, allocations: 44.5 kB / 1.123 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/1.172, allocations: 0 / 1.123 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/1.209, allocations: 3.342 MB / 1.126 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/1.21, allocations: 182.3 kB / 1.126 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.465, allocations: 0 / 1.126 GB, free: 5.457 MB / 0.7292 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)