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.001027/0.001027, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001244/0.001245, allocations: 168.7 kB / 15.95 MB, free: 204 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.394/1.394, allocations: 223.2 MB / 240 MB, free: 5.441 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.427/2.427, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7278, allocations: 142.4 MB / 0.9545 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.002528/0.7304, allocations: 2.419 MB / 0.9568 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.8956, allocations: 140.5 MB / 1.094 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.8961, allocations: 4 kB / 1.094 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.8974, allocations: 469.9 kB / 1.094 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.8988, allocations: 473.5 kB / 1.095 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.9002, allocations: 484.4 kB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.9014, allocations: 1.033 MB / 1.096 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.9016, allocations: 178.5 kB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.9021, allocations: 414.4 kB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007808/0.9029, allocations: 0.5565 MB / 1.098 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.903, allocations: 56 kB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.9046, allocations: 0.8344 MB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.9049, allocations: 323 kB / 1.099 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.9052, allocations: 277 kB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.9073, allocations: 2.139 MB / 1.101 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9073, allocations: 0 / 1.101 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9073, allocations: 0 / 1.101 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.9073, allocations: 4 kB / 1.101 GB, free: 8.969 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.003152/0.9105, allocations: 1.826 MB / 1.103 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9105, allocations: 8.031 kB / 1.103 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.926, allocations: 2.292 MB / 1.105 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.9285, allocations: 1.32 MB / 1.106 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.9285, allocations: 20.19 kB / 1.106 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.9286, allocations: 20 kB / 1.106 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004738/0.9333, allocations: 1.255 MB / 1.108 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.9334, allocations: 7.938 kB / 1.108 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.9334, allocations: 4 kB / 1.108 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.9334, allocations: 4 kB / 1.108 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008616/0.9421, allocations: 2.095 MB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009372/0.9514, allocations: 3.336 MB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.9631, allocations: 2.764 MB / 1.116 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/0.9675, allocations: 1.067 MB / 1.117 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.9681, allocations: 457.4 kB / 1.117 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004671/0.9728, allocations: 1.24 MB / 1.118 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.185e-06/0.9728, allocations: 0 / 1.118 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.03001/1.003, allocations: 4.797 MB / 1.123 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.003, allocations: 144.4 kB / 1.123 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004848/1.008, allocations: 2.398 MB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/1.008, allocations: 37.7 kB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/1.009, allocations: 0.5466 MB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/1.009, allocations: 55.2 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.009, allocations: 8 kB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.009, allocations: 326 kB / 1.126 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004732/1.014, allocations: 1.206 MB / 1.128 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004633/1.019, allocations: 1.242 MB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/1.023, allocations: 1.122 MB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/1.023, allocations: 0 / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02535/1.049, allocations: 4.141 MB / 1.134 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.049, allocations: 139.3 kB / 1.134 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.049, allocations: 4 kB / 1.134 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/1.053, allocations: 0.96 MB / 1.135 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/1.055, allocations: 427.4 kB / 1.135 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009897/1.065, allocations: 8.08 MB / 1.143 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/1.069, allocations: 479.1 kB / 1.144 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/1.069, allocations: 43.95 kB / 1.144 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.069, allocations: 4 kB / 1.144 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02413/1.093, allocations: 3.849 MB / 1.148 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.093, allocations: 0 / 1.148 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/1.096, allocations: 0.7962 MB / 1.148 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/1.098, allocations: 435.4 kB / 1.149 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006309/1.104, allocations: 6.835 MB / 1.155 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/1.108, allocations: 471.1 kB / 1.156 GB, free: 15.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.108, allocations: 35.95 kB / 1.156 GB, free: 15.05 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 ($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.001026/1.109, allocations: 0.6794 MB / 1.157 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/1.109, allocations: 134.3 kB / 1.157 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02331/1.133, allocations: 3.521 MB / 1.16 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.133, allocations: 0 / 1.16 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.133, allocations: 7.953 kB / 1.16 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.133, allocations: 3.984 kB / 1.16 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/1.135, allocations: 1.107 MB / 1.161 GB, free: 9.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.135, allocations: 3.938 kB / 1.161 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.138, allocations: 395.5 kB / 1.162 GB, free: 9.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006316/1.138, allocations: 164.7 kB / 1.162 GB, free: 8.953 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.138, allocations: 23.95 kB / 1.162 GB, free: 8.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/1.139, allocations: 0.6576 MB / 1.162 GB, free: 8.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.139, allocations: 4.031 kB / 1.162 GB, free: 8.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/1.163, allocations: 3.473 MB / 1.166 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/1.164, allocations: 435 kB / 1.166 GB, free: 4.289 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006991/1.165, allocations: 8 kB / 1.166 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003349/1.169, allocations: 411.5 kB / 1.167 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.169, allocations: 19.97 kB / 1.167 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.169, allocations: 35.95 kB / 1.167 GB, free: 3.824 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004241/1.173, allocations: 1.715 MB / 1.168 GB, free: 2.113 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.173, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002608/1.176, allocations: 0.539 MB / 1.169 GB, free: 1.574 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.0007263/1.176, allocations: 235 kB / 1.169 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01665/1.193, allocations: 5.137 MB / 1.174 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.193, allocations: 0 / 1.174 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004741/1.198, allocations: 1.19 MB / 1.175 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.2, allocations: 331.1 kB / 1.176 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/1.218, allocations: 4.617 MB / 1.18 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.219, allocations: 1.391 MB / 1.182 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001876/1.221, allocations: 382.7 kB / 1.182 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/1.222, allocations: 83.38 kB / 1.182 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of SimCode: time 1.633e-06/1.222, allocations: 0 / 1.182 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of Templates: time 0.04967/1.271, allocations: 31.44 MB / 1.213 GB, free: 4.711 MB / 0.9669 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)