Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.881/1.881, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001575/0.001575, allocations: 191.5 kB / 377.1 MB, free: 1.527 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.931/1.931, allocations: 205.4 MB / 0.6366 GB, free: 8.656 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.0009314/0.0009315, allocations: 96.11 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 15.98 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2824, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.853/1.135, allocations: 141.5 MB / 1.127 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.136, allocations: 90.02 kB / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04197/1.178, allocations: 14.89 MB / 1.141 GB, free: 23.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.164e-06/1.178, allocations: 0 / 1.141 GB, free: 23.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.178, allocations: 4 kB / 1.141 GB, free: 23.12 MB / 0.7292 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.0007825/1.179, allocations: 442.3 kB / 1.142 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.179, allocations: 16.62 kB / 1.142 GB, free: 22.65 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/1.179, allocations: 42.48 kB / 1.142 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/1.179, allocations: 9.969 kB / 1.142 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/1.179, allocations: 176.2 kB / 1.142 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.179, allocations: 4 kB / 1.142 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/1.179, allocations: 15.44 kB / 1.142 GB, free: 22.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/1.179, allocations: 222.5 kB / 1.142 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.179, allocations: 3.938 kB / 1.142 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.179, allocations: 4 kB / 1.142 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/1.179, allocations: 4 kB / 1.142 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/1.18, allocations: 181.8 kB / 1.142 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/1.18, allocations: 282 kB / 1.143 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/1.181, allocations: 414 kB / 1.143 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/1.181, allocations: 196.3 kB / 1.143 GB, free: 21.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/1.181, allocations: 43.25 kB / 1.143 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/1.181, allocations: 4 kB / 1.143 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0006175/1.182, allocations: 383.9 kB / 1.144 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.182, allocations: 188.5 kB / 1.144 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.725e-05/1.182, allocations: 85 kB / 1.144 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.182, allocations: 30.5 kB / 1.144 GB, free: 20.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/1.182, allocations: 80.7 kB / 1.144 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/1.182, allocations: 98.75 kB / 1.144 GB, free: 20.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/1.182, allocations: 4 kB / 1.144 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/1.182, allocations: 326.2 kB / 1.144 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/1.182, allocations: 86.94 kB / 1.144 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/1.182, allocations: 135.8 kB / 1.145 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/1.182, allocations: 111.6 kB / 1.145 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.182, allocations: 0 / 1.145 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000392/1.183, allocations: 290.7 kB / 1.145 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.183, allocations: 9.438 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.183, allocations: 0.6562 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.183, allocations: 4 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.183, allocations: 61.64 kB / 1.145 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.183, allocations: 0.6562 kB / 1.145 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/1.183, allocations: 20.44 kB / 1.145 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/1.183, allocations: 15.62 kB / 1.145 GB, free: 19.23 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 () * 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.0001016/1.183, allocations: 135.2 kB / 1.145 GB, free: 19.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/1.183, allocations: 24.42 kB / 1.145 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/1.184, allocations: 355.2 kB / 1.146 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.184, allocations: 8 kB / 1.146 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.184, allocations: 3.938 kB / 1.146 GB, free: 18.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-05/1.184, allocations: 1.922 kB / 1.146 GB, free: 18.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/1.184, allocations: 249.5 kB / 1.146 GB, free: 18.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.184, allocations: 4.656 kB / 1.146 GB, free: 18.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/1.185, allocations: 55.12 kB / 1.146 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.185, allocations: 4 kB / 1.146 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/1.185, allocations: 22.89 kB / 1.146 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.185, allocations: 7.938 kB / 1.146 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.185, allocations: 1.984 kB / 1.146 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/1.185, allocations: 398.8 kB / 1.146 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/1.185, allocations: 89.94 kB / 1.146 GB, free: 17.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/1.185, allocations: 9.406 kB / 1.146 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/1.185, allocations: 8 kB / 1.146 GB, free: 17.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/1.185, allocations: 28.62 kB / 1.146 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/1.185, allocations: 15.92 kB / 1.146 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.562e-05/1.185, allocations: 79.28 kB / 1.147 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 0 / 1.147 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005478/1.186, allocations: 111.9 kB / 1.147 GB, free: 17.69 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 () * 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.001182/1.187, allocations: 1.398 MB / 1.148 GB, free: 16.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004716/1.188, allocations: 243.5 kB / 1.148 GB, free: 16.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.188, allocations: 4.562 kB / 1.148 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/1.188, allocations: 138.9 kB / 1.148 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/1.188, allocations: 13.27 kB / 1.148 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/1.189, allocations: 469.8 kB / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/1.189, allocations: 0.7161 MB / 1.15 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002601/1.189, allocations: 109.9 kB / 1.15 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/1.189, allocations: 42.14 kB / 1.15 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of SimCode: time 4.629e-06/1.189, allocations: 8 kB / 1.15 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/1.204, allocations: 3.589 MB / 1.153 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.205, allocations: 235.8 kB / 1.153 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/3.042, allocations: 0 / 1.153 GB, free: 12.43 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)