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.001167/0.001167, allocations: 108.3 kB / 16.41 MB, free: 6.406 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.00128/0.00128, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.08 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.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.00403/1.035, allocations: 2.848 MB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2125/1.248, allocations: 154.6 MB / 1.242 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/1.248, allocations: 8.125 kB / 1.242 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/1.25, allocations: 0.5011 MB / 1.243 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/1.253, allocations: 0.6797 MB / 1.244 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/1.255, allocations: 0.6651 MB / 1.244 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001581/1.256, allocations: 1.308 MB / 1.246 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/1.257, allocations: 179 kB / 1.246 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/1.257, allocations: 489.7 kB / 1.246 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008425/1.258, allocations: 0.6169 MB / 1.247 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/1.258, allocations: 96 kB / 1.247 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/1.261, allocations: 1.197 MB / 1.248 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/1.261, allocations: 370.8 kB / 1.248 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006774/1.262, allocations: 0.6528 MB / 1.249 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/1.265, allocations: 2.73 MB / 1.252 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/1.265, allocations: 0 / 1.252 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/1.265, allocations: 0 / 1.252 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.728e-05/1.265, allocations: 0 / 1.252 GB, free: 6.781 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.003753/1.269, allocations: 2.003 MB / 1.254 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.269, allocations: 8.031 kB / 1.254 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/1.285, allocations: 1.874 MB / 1.255 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/1.288, allocations: 1.381 MB / 1.257 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/1.288, allocations: 20.23 kB / 1.257 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/1.288, allocations: 16 kB / 1.257 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005224/1.293, allocations: 1.059 MB / 1.258 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.293, allocations: 0 / 1.258 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/1.293, allocations: 7.938 kB / 1.258 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.293, allocations: 4 kB / 1.258 GB, free: 284 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009109/1.303, allocations: 1.685 MB / 1.26 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/1.313, allocations: 3.144 MB / 1.263 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.326, allocations: 2.208 MB / 1.265 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004495/1.33, allocations: 0.8678 MB / 1.266 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006696/1.331, allocations: 433.5 kB / 1.266 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004899/1.336, allocations: 1.036 MB / 1.267 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 3.496e-06/1.336, allocations: 0 / 1.267 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.03128/1.367, allocations: 4.205 MB / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.367, allocations: 140.5 kB / 1.271 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005396/1.373, allocations: 2.413 MB / 1.274 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002849/1.373, allocations: 37.69 kB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/1.374, allocations: 0.5466 MB / 1.274 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.374, allocations: 63.12 kB / 1.274 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/1.374, allocations: 129.5 kB / 1.274 GB, free: 15.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.375, allocations: 322 kB / 1.275 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005001/1.38, allocations: 1.023 MB / 1.276 GB, free: 13.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/1.384, allocations: 1.055 MB / 1.277 GB, free: 12.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008793/1.393, allocations: 1.737 MB / 1.278 GB, free: 10.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.393, allocations: 0 / 1.278 GB, free: 10.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02578/1.419, allocations: 3.766 MB / 1.282 GB, free: 7.105 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/1.419, allocations: 41.72 kB / 1.282 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.419, allocations: 0 / 1.282 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/1.424, allocations: 0.9716 MB / 1.283 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/1.426, allocations: 335.4 kB / 1.283 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.437, allocations: 8.602 MB / 1.292 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/1.44, allocations: 379.1 kB / 1.292 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/1.441, allocations: 47.89 kB / 1.292 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005713/1.446, allocations: 1.507 MB / 1.294 GB, free: 10.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004828/1.451, allocations: 1.047 MB / 1.295 GB, free: 9.559 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008815/1.46, allocations: 1.721 MB / 1.296 GB, free: 7.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/1.46, allocations: 0 / 1.296 GB, free: 7.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.02473/1.485, allocations: 3.595 MB / 1.3 GB, free: 4.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/1.485, allocations: 33.7 kB / 1.3 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/1.485, allocations: 0 / 1.3 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002946/1.488, allocations: 0.7805 MB / 1.301 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/1.49, allocations: 335.4 kB / 1.301 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00721/1.498, allocations: 7.279 MB / 1.308 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/1.501, allocations: 371.2 kB / 1.309 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.501, allocations: 39.91 kB / 1.309 GB, free: 10.75 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.0004255/1.502, allocations: 243.9 kB / 1.309 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005923/1.502, allocations: 142.2 kB / 1.309 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02371/1.526, allocations: 3.126 MB / 1.312 GB, free: 7.219 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/1.526, allocations: 4 kB / 1.312 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.526, allocations: 0 / 1.312 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.526, allocations: 7.984 kB / 1.312 GB, free: 7.207 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/1.529, allocations: 1.107 MB / 1.313 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.529, allocations: 4 kB / 1.313 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.531, allocations: 295.5 kB / 1.313 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/1.532, allocations: 164.6 kB / 1.313 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.532, allocations: 23.95 kB / 1.314 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/1.533, allocations: 0.6575 MB / 1.314 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.533, allocations: 0 / 1.314 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/1.557, allocations: 3.078 MB / 1.317 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.558, allocations: 435 kB / 1.318 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005913/1.558, allocations: 12 kB / 1.318 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003096/1.562, allocations: 319.4 kB / 1.318 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.562, allocations: 23.91 kB / 1.318 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.562, allocations: 31.95 kB / 1.318 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003732/1.566, allocations: 1.727 MB / 1.32 GB, free: 15.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.81e-07/1.566, allocations: 0 / 1.32 GB, free: 15.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002597/1.568, allocations: 0.539 MB / 1.32 GB, free: 14.68 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.0008279/1.569, allocations: 231.2 kB / 1.32 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01736/1.586, allocations: 4.544 MB / 1.325 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.586, allocations: 0 / 1.325 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004654/1.591, allocations: 0.9904 MB / 1.326 GB, free: 8.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/1.593, allocations: 329 kB / 1.326 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.612, allocations: 4.249 MB / 1.33 GB, free: 4.164 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.613, allocations: 1.379 MB / 1.332 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008242/1.614, allocations: 99.28 kB / 1.332 GB, free: 2.66 MB / 1.061 GB Notification: Performance of SimCode: time 1.412e-06/1.614, allocations: 4 kB / 1.332 GB, free: 2.656 MB / 1.061 GB Notification: Performance of Templates: time 0.06409/1.678, allocations: 46.52 MB / 1.377 GB, free: 4.199 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)