Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.284/1.284, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008677/0.0008678, allocations: 170.3 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205 MB / 0.576 GB, free: 20.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007271/0.0007271, allocations: 84.86 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 11.81 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0005841/0.1532, allocations: 342.1 kB / 0.8965 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.155, allocations: 1.805 MB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.219e-05/0.1551, allocations: 0 / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.1551, allocations: 3.938 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.1551, allocations: 0 / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1557, allocations: 252.1 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.1558, allocations: 119.9 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.1558, allocations: 0 / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.1559, allocations: 39.97 kB / 0.8987 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.156, allocations: 59.86 kB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.156, allocations: 4 kB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.1563, allocations: 294.1 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.1564, allocations: 39.89 kB / 0.8991 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.1564, allocations: 47.8 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1566, allocations: 275.6 kB / 0.8994 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1567, allocations: 0 / 0.8994 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1567, allocations: 0 / 0.8994 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1567, allocations: 0 / 0.8994 GB, free: 64.78 MB / 0.6042 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.0004246/0.1571, allocations: 411.4 kB / 0.8998 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1571, allocations: 19.97 kB / 0.8998 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.1572, allocations: 46.73 kB / 0.8998 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.1572, allocations: 8.844 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.19e-05/0.1573, allocations: 168.3 kB / 0.9 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1573, allocations: 12.38 kB / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1573, allocations: 19.88 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.1575, allocations: 214.7 kB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1576, allocations: 0 / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1576, allocations: 4 kB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1576, allocations: 4 kB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.1578, allocations: 179.7 kB / 0.9004 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.158, allocations: 282.1 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.1585, allocations: 415.7 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1587, allocations: 177.2 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.1589, allocations: 199.2 kB / 0.9014 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.1589, allocations: 50.44 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.1589, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0004767/0.1594, allocations: 386.6 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1595, allocations: 187.9 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.404e-05/0.1595, allocations: 89.86 kB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1595, allocations: 33.64 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.08e-05/0.1595, allocations: 80.7 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.1596, allocations: 102.5 kB / 0.9023 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1596, allocations: 29.7 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.1597, allocations: 322.8 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1598, allocations: 91.92 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1599, allocations: 137.6 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1602, allocations: 269 kB / 0.9031 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1602, allocations: 0 / 0.9031 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003248/0.1605, allocations: 289.3 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.1605, allocations: 4 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1605, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1605, allocations: 4 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1607, allocations: 59.89 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1607, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.1608, allocations: 15.84 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.1609, allocations: 15.98 kB / 0.9035 GB, free: 60.11 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.1609, allocations: 141.7 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.161, allocations: 15.84 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.1614, allocations: 369.1 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1614, allocations: 4 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1614, allocations: 0 / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1614, allocations: 4 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1616, allocations: 249.4 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1616, allocations: 4 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1618, allocations: 63.89 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1618, allocations: 0 / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1618, allocations: 11.98 kB / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1618, allocations: 4 kB / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1618, allocations: 4 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.1621, allocations: 341 kB / 0.9047 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.1622, allocations: 100.9 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1622, allocations: 4 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1623, allocations: 4 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1623, allocations: 27.95 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1623, allocations: 12.31 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.998e-06/0.1623, allocations: 79.28 kB / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.1624, allocations: 0 / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002849/0.1626, allocations: 95.98 kB / 0.905 GB, free: 58.49 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007201/0.1634, allocations: 0.9881 MB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1637, allocations: 240.7 kB / 0.9062 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1637, allocations: 4 kB / 0.9062 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1638, allocations: 139.8 kB / 0.9063 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.164, allocations: 19.19 kB / 0.9063 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.1645, allocations: 476.2 kB / 0.9068 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1646, allocations: 0.7166 MB / 0.9075 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.1648, allocations: 109.4 kB / 0.9076 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.1649, allocations: 43.41 kB / 0.9076 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.1649, allocations: 0 / 0.9076 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.2651, allocations: 3.815 MB / 0.9114 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.2653, allocations: 272.9 kB / 0.9116 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.255, allocations: 4 kB / 0.9116 GB, free: 51.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)