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.0009307/0.0009307, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006039/0.006039, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.384/2.384, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003652, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7306, allocations: 142.4 MB / 0.9551 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.002886/0.7335, allocations: 2.518 MB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.8997, allocations: 150.7 MB / 1.105 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.9001, allocations: 4 kB / 1.105 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.9017, allocations: 0.4978 MB / 1.105 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.9037, allocations: 0.5873 MB / 1.106 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.9055, allocations: 0.5794 MB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.9071, allocations: 1.217 MB / 1.108 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.9074, allocations: 178.4 kB / 1.108 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.9081, allocations: 414.2 kB / 1.108 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.9092, allocations: 0.5719 MB / 1.109 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.9095, allocations: 56 kB / 1.109 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.9118, allocations: 1.251 MB / 1.11 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.9123, allocations: 342.8 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000795/0.9131, allocations: 0.6232 MB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.9163, allocations: 2.671 MB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9163, allocations: 0 / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9163, allocations: 3.938 kB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.743e-05/0.9164, allocations: 8 kB / 1.114 GB, free: 12.51 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.00415/0.9205, allocations: 1.817 MB / 1.115 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.9206, allocations: 8.031 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01852/0.9391, allocations: 2.292 MB / 1.118 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.9421, allocations: 1.381 MB / 1.119 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.9422, allocations: 12.23 kB / 1.119 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.9423, allocations: 24 kB / 1.119 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005961/0.9483, allocations: 1.259 MB / 1.12 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.9483, allocations: 3.938 kB / 1.12 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/0.9484, allocations: 4 kB / 1.12 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.9484, allocations: 7.938 kB / 1.12 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.9628, allocations: 2.091 MB / 1.122 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/0.9806, allocations: 3.343 MB / 1.125 GB, free: 68 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02193/1.003, allocations: 2.772 MB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007972/1.011, allocations: 1.067 MB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.012, allocations: 449.5 kB / 1.13 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005848/1.018, allocations: 1.23 MB / 1.131 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 3.987e-06/1.018, allocations: 0 / 1.131 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.03746/1.055, allocations: 4.808 MB / 1.136 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.055, allocations: 132.5 kB / 1.136 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004969/1.06, allocations: 2.417 MB / 1.138 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002351/1.061, allocations: 33.7 kB / 1.138 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007092/1.061, allocations: 0.5466 MB / 1.139 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.061, allocations: 59.11 kB / 1.139 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/1.062, allocations: 53.69 kB / 1.139 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.062, allocations: 322 kB / 1.139 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005906/1.068, allocations: 1.214 MB / 1.14 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005814/1.074, allocations: 1.262 MB / 1.141 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.084, allocations: 2.115 MB / 1.143 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.084, allocations: 0 / 1.143 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.04136/1.126, allocations: 4.172 MB / 1.148 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.126, allocations: 139.3 kB / 1.148 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.126, allocations: 0 / 1.148 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006834/1.133, allocations: 0.9833 MB / 1.149 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/1.137, allocations: 427.4 kB / 1.149 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.152, allocations: 8.099 MB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/1.156, allocations: 479.1 kB / 1.157 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/1.156, allocations: 35.95 kB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.156, allocations: 8 kB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02834/1.184, allocations: 3.853 MB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/1.184, allocations: 3.938 kB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/1.187, allocations: 0.7844 MB / 1.162 GB, free: 9.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/1.19, allocations: 439.4 kB / 1.162 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/1.198, allocations: 6.839 MB / 1.169 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/1.202, allocations: 471.2 kB / 1.17 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/1.202, allocations: 35.97 kB / 1.17 GB, free: 1.371 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.00137/1.204, allocations: 0.6741 MB / 1.17 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/1.204, allocations: 146.2 kB / 1.17 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.028/1.232, allocations: 3.516 MB / 1.174 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.232, allocations: 0 / 1.174 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.232, allocations: 4 kB / 1.174 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/1.232, allocations: 0 / 1.174 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/1.234, allocations: 1.103 MB / 1.175 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.234, allocations: 7.938 kB / 1.175 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/1.237, allocations: 395.5 kB / 1.175 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/1.238, allocations: 168.7 kB / 1.175 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.238, allocations: 23.97 kB / 1.175 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/1.239, allocations: 0.6498 MB / 1.176 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.239, allocations: 7.969 kB / 1.176 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02811/1.267, allocations: 3.48 MB / 1.179 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.268, allocations: 431.1 kB / 1.18 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/1.269, allocations: 11.98 kB / 1.18 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003492/1.272, allocations: 407.5 kB / 1.18 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.272, allocations: 27.91 kB / 1.18 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.273, allocations: 35.95 kB / 1.18 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003478/1.276, allocations: 1.719 MB / 1.182 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/1.276, allocations: 4 kB / 1.182 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002338/1.278, allocations: 0.5428 MB / 1.183 GB, free: 3.875 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.0007205/1.279, allocations: 240.6 kB / 1.183 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0204/1.3, allocations: 5.136 MB / 1.188 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.3, allocations: 0 / 1.188 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005823/1.305, allocations: 1.197 MB / 1.189 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/1.308, allocations: 309.3 kB / 1.189 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.328, allocations: 4.753 MB / 1.194 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.33, allocations: 1.395 MB / 1.195 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001867/1.332, allocations: 378.8 kB / 1.196 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/1.332, allocations: 83.38 kB / 1.196 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of SimCode: time 1.002e-06/1.332, allocations: 0 / 1.196 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of Templates: time 0.05105/1.383, allocations: 32.05 MB / 1.227 GB, free: 6.285 MB / 0.9825 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)