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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001117/0.001117, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001363/0.001364, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7165, allocations: 142.3 MB / 0.9535 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.002634/0.7192, allocations: 2.324 MB / 0.9558 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1495/0.8687, allocations: 130.6 MB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.8692, allocations: 3.938 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.8709, allocations: 0.592 MB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.8722, allocations: 494.5 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.8735, allocations: 490.1 kB / 1.085 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.8745, allocations: 0.8449 MB / 1.086 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.8748, allocations: 174.6 kB / 1.086 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.8751, allocations: 378.6 kB / 1.086 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.8758, allocations: 0.4942 MB / 1.087 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.8759, allocations: 36 kB / 1.087 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.8776, allocations: 0.8074 MB / 1.088 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.8778, allocations: 243 kB / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.878, allocations: 273 kB / 1.088 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.88, allocations: 1.831 MB / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.88, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.88, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.88, allocations: 4 kB / 1.09 GB, free: 4.387 MB / 0.8419 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.003033/0.8831, allocations: 1.754 MB / 1.092 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8831, allocations: 8.031 kB / 1.092 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/0.9, allocations: 2.292 MB / 1.094 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.9018, allocations: 0.9885 MB / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.9019, allocations: 28.19 kB / 1.095 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.902, allocations: 16 kB / 1.095 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/0.9073, allocations: 1.261 MB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.9073, allocations: 0 / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.9074, allocations: 4 kB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.9074, allocations: 4 kB / 1.096 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.9177, allocations: 2.091 MB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009744/0.9275, allocations: 2.953 MB / 1.101 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.9411, allocations: 2.78 MB / 1.104 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/0.9417, allocations: 437.7 kB / 1.104 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005358/0.9471, allocations: 1.24 MB / 1.105 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.9471, allocations: 0 / 1.105 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.03511/0.9822, allocations: 4.888 MB / 1.11 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.9824, allocations: 132.5 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.9854, allocations: 2.011 MB / 1.112 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.9856, allocations: 33.7 kB / 1.112 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/0.9862, allocations: 0.562 MB / 1.113 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.9863, allocations: 59.19 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.9863, allocations: 8 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9865, allocations: 326 kB / 1.113 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005477/0.992, allocations: 1.202 MB / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/0.9975, allocations: 1.242 MB / 1.115 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/1.003, allocations: 1.118 MB / 1.117 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.003, allocations: 0 / 1.117 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02935/1.032, allocations: 4.141 MB / 1.121 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.032, allocations: 223.6 kB / 1.121 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.032, allocations: 0 / 1.121 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/1.036, allocations: 0.9248 MB / 1.122 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/1.039, allocations: 439.4 kB / 1.122 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/1.049, allocations: 8.195 MB / 1.13 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/1.053, allocations: 483.1 kB / 1.131 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.053, allocations: 40.28 kB / 1.131 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.053, allocations: 9.656 kB / 1.131 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02708/1.08, allocations: 3.845 MB / 1.134 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.081, allocations: 4 kB / 1.134 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/1.083, allocations: 0.7688 MB / 1.135 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/1.086, allocations: 431.4 kB / 1.136 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/1.093, allocations: 6.901 MB / 1.142 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/1.096, allocations: 471.2 kB / 1.143 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.096, allocations: 39.92 kB / 1.143 GB, free: 12.39 MB / 0.9044 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 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001006/1.097, allocations: 0.6628 MB / 1.143 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.098, allocations: 138.2 kB / 1.144 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02665/1.124, allocations: 3.525 MB / 1.147 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.124, allocations: 4 kB / 1.147 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.124, allocations: 3.953 kB / 1.147 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.124, allocations: 0 / 1.147 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/1.126, allocations: 0.9627 MB / 1.148 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.126, allocations: 0 / 1.148 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.129, allocations: 403.4 kB / 1.148 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006692/1.129, allocations: 164.7 kB / 1.149 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/1.129, allocations: 23.95 kB / 1.149 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/1.13, allocations: 0.6615 MB / 1.149 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.13, allocations: 0 / 1.149 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02643/1.157, allocations: 3.493 MB / 1.153 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009649/1.158, allocations: 367.1 kB / 1.153 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/1.158, allocations: 8 kB / 1.153 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/1.162, allocations: 415.4 kB / 1.153 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/1.162, allocations: 23.95 kB / 1.153 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.529e-05/1.162, allocations: 31.97 kB / 1.153 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002717/1.165, allocations: 1.453 MB / 1.155 GB, free: 15.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.165, allocations: 0 / 1.155 GB, free: 15.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002062/1.167, allocations: 0.5039 MB / 1.155 GB, free: 15.4 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006719/1.167, allocations: 241.9 kB / 1.156 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0194/1.187, allocations: 5.129 MB / 1.161 GB, free: 9.895 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.187, allocations: 0 / 1.161 GB, free: 9.895 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005449/1.192, allocations: 1.201 MB / 1.162 GB, free: 8.68 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.194, allocations: 297.2 kB / 1.162 GB, free: 8.387 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.214, allocations: 4.621 MB / 1.167 GB, free: 3.738 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.215, allocations: 1.409 MB / 1.168 GB, free: 2.301 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001601/1.217, allocations: 256.5 kB / 1.168 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/1.217, allocations: 59.38 kB / 1.168 GB, free: 1.992 MB / 0.92 GB Notification: Performance of SimCode: time 8.82e-07/1.217, allocations: 0 / 1.168 GB, free: 1.992 MB / 0.92 GB Notification: Performance of Templates: time 0.04639/1.264, allocations: 28.06 MB / 1.196 GB, free: 6.098 MB / 0.9512 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)