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.001261/0.001261, allocations: 109.7 kB / 16.41 MB, free: 6.492 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.001315/0.001315, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 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.311/2.311, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.004403/1.051, allocations: 2.846 MB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2239/1.275, allocations: 154.6 MB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000637/1.276, allocations: 2.75 kB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/1.278, allocations: 0.5055 MB / 1.243 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/1.28, allocations: 0.6641 MB / 1.244 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/1.282, allocations: 0.6638 MB / 1.244 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001876/1.284, allocations: 1.296 MB / 1.246 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/1.285, allocations: 191.7 kB / 1.246 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/1.285, allocations: 486.2 kB / 1.246 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/1.286, allocations: 0.611 MB / 1.247 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/1.287, allocations: 96 kB / 1.247 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/1.289, allocations: 1.189 MB / 1.248 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/1.29, allocations: 370.8 kB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007313/1.291, allocations: 0.6528 MB / 1.249 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004213/1.295, allocations: 2.734 MB / 1.252 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.295, allocations: 0 / 1.252 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.384e-06/1.295, allocations: 0 / 1.252 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.838e-05/1.295, allocations: 0 / 1.252 GB, free: 6.809 MB / 0.9825 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.004208/1.299, allocations: 2.003 MB / 1.254 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.299, allocations: 8.031 kB / 1.254 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/1.317, allocations: 1.87 MB / 1.255 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/1.32, allocations: 1.385 MB / 1.257 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/1.32, allocations: 16.23 kB / 1.257 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.32, allocations: 24 kB / 1.257 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005569/1.325, allocations: 1.055 MB / 1.258 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.326, allocations: 3.984 kB / 1.258 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/1.326, allocations: 3.938 kB / 1.258 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/1.326, allocations: 8 kB / 1.258 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009805/1.335, allocations: 1.681 MB / 1.26 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/1.346, allocations: 3.141 MB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/1.36, allocations: 2.217 MB / 1.265 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/1.365, allocations: 0.8599 MB / 1.266 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/1.365, allocations: 441.5 kB / 1.266 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005222/1.371, allocations: 1.033 MB / 1.267 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.775e-06/1.371, allocations: 0 / 1.267 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.03539/1.406, allocations: 4.211 MB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.406, allocations: 136.5 kB / 1.271 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005058/1.411, allocations: 2.417 MB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/1.412, allocations: 29.7 kB / 1.274 GB, free: 15.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007675/1.412, allocations: 0.5544 MB / 1.274 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/1.413, allocations: 59.2 kB / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/1.413, allocations: 133.5 kB / 1.274 GB, free: 15.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.413, allocations: 321.9 kB / 1.275 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005353/1.418, allocations: 1.02 MB / 1.276 GB, free: 13.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/1.424, allocations: 1.055 MB / 1.277 GB, free: 12.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009739/1.434, allocations: 1.74 MB / 1.278 GB, free: 10.92 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.434, allocations: 0 / 1.278 GB, free: 10.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02844/1.462, allocations: 3.762 MB / 1.282 GB, free: 7.129 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/1.462, allocations: 37.7 kB / 1.282 GB, free: 7.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.462, allocations: 3.984 kB / 1.282 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/1.467, allocations: 0.9677 MB / 1.283 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.469, allocations: 331.4 kB / 1.283 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.481, allocations: 8.605 MB / 1.292 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003846/1.485, allocations: 375.1 kB / 1.292 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/1.485, allocations: 35.97 kB / 1.292 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006337/1.491, allocations: 1.518 MB / 1.294 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00539/1.497, allocations: 1.047 MB / 1.295 GB, free: 9.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009752/1.506, allocations: 1.717 MB / 1.296 GB, free: 7.852 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/1.507, allocations: 3.938 kB / 1.296 GB, free: 7.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.02823/1.535, allocations: 3.595 MB / 1.3 GB, free: 4.223 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/1.535, allocations: 41.69 kB / 1.3 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.535, allocations: 0 / 1.3 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/1.538, allocations: 0.7805 MB / 1.301 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/1.541, allocations: 335.4 kB / 1.301 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007893/1.549, allocations: 7.275 MB / 1.308 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/1.552, allocations: 371.3 kB / 1.308 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/1.553, allocations: 43.89 kB / 1.309 GB, free: 10.78 MB / 1.045 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.0004464/1.553, allocations: 236.3 kB / 1.309 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000688/1.554, allocations: 138.2 kB / 1.309 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02656/1.58, allocations: 3.139 MB / 1.312 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.581, allocations: 4 kB / 1.312 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.581, allocations: 0 / 1.312 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.581, allocations: 0 / 1.312 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/1.583, allocations: 1.099 MB / 1.313 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.583, allocations: 0 / 1.313 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.586, allocations: 307.5 kB / 1.313 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007006/1.586, allocations: 168.8 kB / 1.313 GB, free: 5.613 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.587, allocations: 19.95 kB / 1.313 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/1.588, allocations: 0.6654 MB / 1.314 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.588, allocations: 0 / 1.314 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02624/1.614, allocations: 3.074 MB / 1.317 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.616, allocations: 435 kB / 1.318 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006481/1.616, allocations: 11.94 kB / 1.318 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003384/1.62, allocations: 315.5 kB / 1.318 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.62, allocations: 31.84 kB / 1.318 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.62, allocations: 35.95 kB / 1.318 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003968/1.624, allocations: 1.719 MB / 1.32 GB, free: 15.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.31e-07/1.624, allocations: 0 / 1.32 GB, free: 15.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002689/1.627, allocations: 0.5429 MB / 1.32 GB, free: 14.7 MB / 1.061 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.0007514/1.627, allocations: 234.8 kB / 1.32 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01906/1.646, allocations: 4.54 MB / 1.325 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.646, allocations: 0 / 1.325 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005502/1.652, allocations: 0.9969 MB / 1.326 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/1.654, allocations: 333 kB / 1.326 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.674, allocations: 4.221 MB / 1.33 GB, free: 4.203 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.676, allocations: 1.387 MB / 1.332 GB, free: 2.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/1.676, allocations: 95.36 kB / 1.332 GB, free: 2.695 MB / 1.061 GB Notification: Performance of SimCode: time 3.887e-06/1.676, allocations: 0 / 1.332 GB, free: 2.695 MB / 1.061 GB Notification: Performance of Templates: time 0.05566/1.732, allocations: 46.53 MB / 1.377 GB, free: 4.227 MB / 1.107 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)