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.001658/0.001658, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 199 kB / 16.79 MB, free: 6.809 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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.529/2.529, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 71.88 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8934/0.8949, allocations: 140.3 MB / 0.9496 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.003933/0.8989, allocations: 2.883 MB / 0.9524 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1857/1.085, allocations: 152.4 MB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/1.085, allocations: 3.938 kB / 1.101 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/1.087, allocations: 0.494 MB / 1.102 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/1.089, allocations: 0.5951 MB / 1.102 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/1.092, allocations: 0.5727 MB / 1.103 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001754/1.093, allocations: 1.219 MB / 1.104 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/1.094, allocations: 186.4 kB / 1.104 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/1.095, allocations: 422.2 kB / 1.105 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/1.096, allocations: 0.5719 MB / 1.105 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005148/1.096, allocations: 60 kB / 1.105 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/1.1, allocations: 1.255 MB / 1.106 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007083/1.101, allocations: 338.8 kB / 1.107 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/1.103, allocations: 0.6099 MB / 1.107 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003703/1.106, allocations: 2.226 MB / 1.11 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.106, allocations: 0 / 1.11 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.466e-06/1.106, allocations: 0 / 1.11 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001176/1.107, allocations: 0 / 1.11 GB, free: 13.78 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.005995/1.113, allocations: 1.999 MB / 1.112 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.113, allocations: 8.031 kB / 1.112 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/1.13, allocations: 1.874 MB / 1.113 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/1.134, allocations: 1.385 MB / 1.115 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/1.134, allocations: 12.23 kB / 1.115 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/1.134, allocations: 27.94 kB / 1.115 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/1.139, allocations: 1.05 MB / 1.116 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.139, allocations: 0 / 1.116 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/1.139, allocations: 8 kB / 1.116 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.139, allocations: 7.938 kB / 1.116 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009002/1.148, allocations: 1.689 MB / 1.117 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/1.16, allocations: 3.144 MB / 1.121 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/1.172, allocations: 2.213 MB / 1.123 GB, free: 140 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004762/1.177, allocations: 0.8601 MB / 1.124 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/1.178, allocations: 441.5 kB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005498/1.184, allocations: 1.03 MB / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 5.19e-06/1.184, allocations: 0 / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.03714/1.221, allocations: 4.218 MB / 1.129 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/1.221, allocations: 136.5 kB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/1.226, allocations: 2.413 MB / 1.132 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/1.226, allocations: 33.7 kB / 1.132 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/1.227, allocations: 0.5427 MB / 1.132 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/1.227, allocations: 63.09 kB / 1.132 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/1.228, allocations: 129.6 kB / 1.132 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.228, allocations: 322 kB / 1.133 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005097/1.233, allocations: 1.023 MB / 1.134 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0051/1.238, allocations: 1.058 MB / 1.135 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009145/1.247, allocations: 1.737 MB / 1.136 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.247, allocations: 0 / 1.136 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02856/1.276, allocations: 3.766 MB / 1.14 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/1.276, allocations: 41.69 kB / 1.14 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.276, allocations: 0 / 1.14 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/1.281, allocations: 0.96 MB / 1.141 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/1.283, allocations: 343.4 kB / 1.141 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/1.294, allocations: 8.093 MB / 1.149 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.298, allocations: 371.1 kB / 1.15 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/1.298, allocations: 43.89 kB / 1.15 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005962/1.304, allocations: 1.507 MB / 1.151 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005078/1.309, allocations: 1.043 MB / 1.152 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009035/1.318, allocations: 1.717 MB / 1.154 GB, free: 15.37 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.53e-06/1.318, allocations: 0 / 1.154 GB, free: 15.37 MB / 0.92 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.02766/1.346, allocations: 3.595 MB / 1.157 GB, free: 11.74 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/1.346, allocations: 33.7 kB / 1.157 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.346, allocations: 0 / 1.157 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003257/1.349, allocations: 0.7805 MB / 1.158 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/1.352, allocations: 339.4 kB / 1.158 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/1.359, allocations: 6.811 MB / 1.165 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/1.363, allocations: 375.2 kB / 1.165 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/1.363, allocations: 39.95 kB / 1.165 GB, free: 2.797 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.0005101/1.364, allocations: 235.1 kB / 1.166 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007586/1.365, allocations: 138.2 kB / 1.166 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02701/1.392, allocations: 3.131 MB / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.392, allocations: 192 / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.392, allocations: 0 / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.392, allocations: 7.984 kB / 1.169 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/1.394, allocations: 1.107 MB / 1.17 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.394, allocations: 0 / 1.17 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/1.397, allocations: 303.5 kB / 1.17 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006928/1.397, allocations: 168.6 kB / 1.17 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/1.398, allocations: 23.97 kB / 1.17 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/1.399, allocations: 0.6537 MB / 1.171 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.399, allocations: 7.969 kB / 1.171 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/1.426, allocations: 3.075 MB / 1.174 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.427, allocations: 439 kB / 1.174 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00061/1.428, allocations: 8 kB / 1.174 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003348/1.431, allocations: 319.4 kB / 1.175 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.431, allocations: 27.84 kB / 1.175 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.431, allocations: 31.95 kB / 1.175 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003849/1.435, allocations: 1.727 MB / 1.177 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.435, allocations: 0 / 1.177 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002786/1.438, allocations: 0.539 MB / 1.177 GB, free: 6.719 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.0007608/1.439, allocations: 232.7 kB / 1.177 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01819/1.457, allocations: 4.526 MB / 1.182 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.457, allocations: 0 / 1.182 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005139/1.462, allocations: 0.9943 MB / 1.183 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.465, allocations: 313.2 kB / 1.183 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.485, allocations: 4.507 MB / 1.187 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.487, allocations: 1.383 MB / 1.189 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/1.487, allocations: 91.36 kB / 1.189 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of SimCode: time 1.332e-06/1.487, allocations: 0 / 1.189 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.05929/1.547, allocations: 46.43 MB / 1.234 GB, free: 12.1 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)