Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 105 kB / 15.98 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 194.2 kB / 16.91 MB, free: 6.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.566/2.566, allocations: 390.2 MB / 0.665 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002309, allocations: 63.91 kB / 0.8127 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8731, allocations: 140.4 MB / 0.9498 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.004076/0.8772, allocations: 2.874 MB / 0.9526 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.193/1.07, allocations: 152.4 MB / 1.101 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005689/1.071, allocations: 0 / 1.101 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/1.073, allocations: 0.4901 MB / 1.102 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/1.075, allocations: 0.6107 MB / 1.103 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/1.077, allocations: 0.619 MB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00171/1.079, allocations: 1.309 MB / 1.104 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/1.079, allocations: 186.4 kB / 1.105 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008953/1.08, allocations: 486.2 kB / 1.105 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/1.082, allocations: 0.6227 MB / 1.106 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003791/1.082, allocations: 96 kB / 1.106 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/1.085, allocations: 1.216 MB / 1.107 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000622/1.085, allocations: 378.8 kB / 1.107 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/1.087, allocations: 0.6608 MB / 1.108 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/1.09, allocations: 2.249 MB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.09, allocations: 0 / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/1.09, allocations: 0 / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.906e-05/1.09, allocations: 0 / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.005513/1.095, allocations: 1.999 MB / 1.112 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.096, allocations: 8.031 kB / 1.112 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/1.112, allocations: 1.871 MB / 1.114 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/1.115, allocations: 1.385 MB / 1.115 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/1.116, allocations: 16.23 kB / 1.115 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/1.116, allocations: 20 kB / 1.115 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005079/1.121, allocations: 1.052 MB / 1.116 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.121, allocations: 0 / 1.116 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/1.121, allocations: 4 kB / 1.116 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.121, allocations: 7.938 kB / 1.116 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008958/1.13, allocations: 1.689 MB / 1.118 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/1.141, allocations: 3.148 MB / 1.121 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/1.154, allocations: 2.205 MB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004481/1.158, allocations: 0.8678 MB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/1.159, allocations: 441.5 kB / 1.125 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004944/1.164, allocations: 1.036 MB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 3.006e-06/1.164, allocations: 0 / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.03435/1.198, allocations: 4.203 MB / 1.13 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.198, allocations: 136.5 kB / 1.13 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/1.203, allocations: 2.413 MB / 1.132 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/1.203, allocations: 37.64 kB / 1.132 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007043/1.204, allocations: 0.5544 MB / 1.133 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/1.204, allocations: 63.09 kB / 1.133 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/1.205, allocations: 125.6 kB / 1.133 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.205, allocations: 322 kB / 1.133 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/1.21, allocations: 1.02 MB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00465/1.214, allocations: 1.055 MB / 1.135 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/1.223, allocations: 1.733 MB / 1.137 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.223, allocations: 0 / 1.137 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02762/1.251, allocations: 3.774 MB / 1.141 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.509e-05/1.251, allocations: 33.7 kB / 1.141 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.251, allocations: 0 / 1.141 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/1.256, allocations: 0.9716 MB / 1.142 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.258, allocations: 339.4 kB / 1.142 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.27, allocations: 8.614 MB / 1.15 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.273, allocations: 375.1 kB / 1.151 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/1.274, allocations: 39.95 kB / 1.151 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00579/1.28, allocations: 1.511 MB / 1.152 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004655/1.284, allocations: 1.043 MB / 1.153 GB, free: 4 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00863/1.293, allocations: 1.717 MB / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/1.293, allocations: 0 / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0263/1.319, allocations: 3.583 MB / 1.158 GB, free: 10.65 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/1.319, allocations: 41.62 kB / 1.158 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.319, allocations: 0 / 1.158 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/1.322, allocations: 0.7884 MB / 1.159 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/1.325, allocations: 343.3 kB / 1.159 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/1.332, allocations: 7.275 MB / 1.167 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.335, allocations: 367.3 kB / 1.167 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/1.336, allocations: 39.95 kB / 1.167 GB, free: 1.203 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,adp.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004019/1.336, allocations: 233.8 kB / 1.167 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005534/1.337, allocations: 142.2 kB / 1.167 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/1.363, allocations: 3.131 MB / 1.17 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.363, allocations: 4 kB / 1.17 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.363, allocations: 0 / 1.17 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.363, allocations: 4 kB / 1.17 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/1.366, allocations: 1.107 MB / 1.171 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.366, allocations: 4 kB / 1.171 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.368, allocations: 295.5 kB / 1.172 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/1.369, allocations: 164.7 kB / 1.172 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.369, allocations: 19.97 kB / 1.172 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/1.37, allocations: 0.6614 MB / 1.173 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.37, allocations: 0 / 1.173 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02568/1.396, allocations: 3.083 MB / 1.176 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.397, allocations: 431.1 kB / 1.176 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00059/1.398, allocations: 12 kB / 1.176 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/1.401, allocations: 315.5 kB / 1.176 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.401, allocations: 23.91 kB / 1.176 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.401, allocations: 35.89 kB / 1.176 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003418/1.405, allocations: 1.73 MB / 1.178 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/1.405, allocations: 0 / 1.178 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002411/1.407, allocations: 0.5428 MB / 1.179 GB, free: 5.125 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007824/1.408, allocations: 241.3 kB / 1.179 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01763/1.426, allocations: 4.539 MB / 1.183 GB, free: 216 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.426, allocations: 0 / 1.183 GB, free: 216 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004959/1.431, allocations: 0.9982 MB / 1.184 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/1.434, allocations: 333 kB / 1.185 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.454, allocations: 4.512 MB / 1.189 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.455, allocations: 1.383 MB / 1.19 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008609/1.456, allocations: 95.3 kB / 1.19 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of SimCode: time 1.182e-06/1.456, allocations: 0 / 1.19 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of Templates: time 0.06092/1.517, allocations: 46.43 MB / 1.236 GB, free: 10.45 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1)