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.00149/0.00149, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001625/0.001626, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.228/2.228, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 66.02 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.005341/0.3149, allocations: 2.85 MB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8778/1.193, allocations: 154.6 MB / 1.104 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006365/1.193, allocations: 3.062 kB / 1.104 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/1.195, allocations: 0.4973 MB / 1.105 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/1.198, allocations: 0.6635 MB / 1.105 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/1.201, allocations: 0.665 MB / 1.106 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001968/1.203, allocations: 1.277 MB / 1.107 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/1.203, allocations: 188.7 kB / 1.107 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/1.204, allocations: 488.5 kB / 1.108 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/1.205, allocations: 0.6044 MB / 1.108 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/1.206, allocations: 97.17 kB / 1.108 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/1.209, allocations: 1.196 MB / 1.11 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/1.21, allocations: 368.3 kB / 1.11 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009541/1.211, allocations: 0.6515 MB / 1.111 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005172/1.216, allocations: 2.717 MB / 1.113 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.216, allocations: 1.094 kB / 1.113 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/1.216, allocations: 0 / 1.113 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.518e-05/1.216, allocations: 0 / 1.113 GB, free: 4.656 MB / 0.8575 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.004972/1.221, allocations: 1.994 MB / 1.115 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.221, allocations: 14.16 kB / 1.115 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/1.238, allocations: 1.872 MB / 1.117 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/1.242, allocations: 1.382 MB / 1.118 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.242, allocations: 16.08 kB / 1.118 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/1.242, allocations: 17.91 kB / 1.118 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/1.247, allocations: 1.058 MB / 1.119 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.247, allocations: 0 / 1.119 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/1.247, allocations: 9.531 kB / 1.119 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/1.247, allocations: 5.188 kB / 1.119 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009898/1.257, allocations: 1.691 MB / 1.121 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/1.269, allocations: 3.135 MB / 1.124 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/1.283, allocations: 2.211 MB / 1.126 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00481/1.288, allocations: 0.8604 MB / 1.127 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/1.288, allocations: 443 kB / 1.128 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00504/1.293, allocations: 1.03 MB / 1.129 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.255e-06/1.293, allocations: 0 / 1.129 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.03379/1.327, allocations: 4.21 MB / 1.133 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.327, allocations: 134.5 kB / 1.133 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/1.332, allocations: 2.415 MB / 1.135 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003457/1.333, allocations: 35.45 kB / 1.135 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/1.333, allocations: 0.5464 MB / 1.136 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/1.333, allocations: 60.23 kB / 1.136 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/1.334, allocations: 129.1 kB / 1.136 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.334, allocations: 325.1 kB / 1.136 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005144/1.339, allocations: 1.028 MB / 1.137 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005076/1.344, allocations: 1.055 MB / 1.138 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00918/1.353, allocations: 1.735 MB / 1.14 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.353, allocations: 0 / 1.14 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02724/1.381, allocations: 3.776 MB / 1.144 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.462e-05/1.381, allocations: 42.44 kB / 1.144 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.381, allocations: 2.656 kB / 1.144 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/1.385, allocations: 0.9624 MB / 1.145 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/1.388, allocations: 336.4 kB / 1.145 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.399, allocations: 8.606 MB / 1.153 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/1.403, allocations: 381.5 kB / 1.154 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/1.403, allocations: 41.34 kB / 1.154 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006428/1.41, allocations: 1.51 MB / 1.155 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005345/1.415, allocations: 1.039 MB / 1.156 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009442/1.424, allocations: 1.72 MB / 1.158 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/1.425, allocations: 0 / 1.158 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.02681/1.451, allocations: 3.578 MB / 1.161 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/1.451, allocations: 39.34 kB / 1.161 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.451, allocations: 6.062 kB / 1.162 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/1.454, allocations: 0.7841 MB / 1.162 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.457, allocations: 334.4 kB / 1.163 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007202/1.464, allocations: 7.282 MB / 1.17 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/1.469, allocations: 368.2 kB / 1.17 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/1.469, allocations: 37.95 kB / 1.17 GB, free: 11.11 MB / 0.8887 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.0004163/1.469, allocations: 243 kB / 1.17 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/1.47, allocations: 140.1 kB / 1.17 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02601/1.496, allocations: 3.132 MB / 1.174 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/1.496, allocations: 6.594 kB / 1.174 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.496, allocations: 2.719 kB / 1.174 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.496, allocations: 0 / 1.174 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/1.499, allocations: 1.105 MB / 1.175 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.499, allocations: 0 / 1.175 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.501, allocations: 306.7 kB / 1.175 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006949/1.502, allocations: 162.9 kB / 1.175 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.502, allocations: 25.7 kB / 1.175 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/1.503, allocations: 0.6505 MB / 1.176 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.503, allocations: 6.469 kB / 1.176 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/1.528, allocations: 3.087 MB / 1.179 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/1.53, allocations: 431 kB / 1.179 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/1.53, allocations: 4.688 kB / 1.179 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/1.533, allocations: 317.5 kB / 1.179 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.534, allocations: 21.53 kB / 1.179 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/1.534, allocations: 38.23 kB / 1.179 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003113/1.537, allocations: 1.729 MB / 1.181 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.537, allocations: 0 / 1.181 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002519/1.539, allocations: 0.5449 MB / 1.182 GB, free: 4.527 MB / 0.8887 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.0007393/1.54, allocations: 240 kB / 1.182 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01879/1.559, allocations: 4.545 MB / 1.186 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.559, allocations: 0 / 1.186 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005272/1.564, allocations: 0.9922 MB / 1.187 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/1.566, allocations: 333.5 kB / 1.188 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.586, allocations: 4.258 MB / 1.192 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.587, allocations: 1.387 MB / 1.193 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009405/1.588, allocations: 99.28 kB / 1.193 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/1.588, allocations: 0 / 1.193 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.06162/1.65, allocations: 46.43 MB / 1.239 GB, free: 14.2 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)