Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001041/0.001041, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 71.89 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2023, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil): time 0.3725/0.5748, allocations: 4.66 MB / 0.7894 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.7472, allocations: 157.4 MB / 0.943 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/0.7479, allocations: 8 kB / 0.943 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.7497, allocations: 0.5694 MB / 0.9436 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.7515, allocations: 0.6372 MB / 0.9442 GB, free: 6.984 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.7551, allocations: 1.355 MB / 0.9455 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.7581, allocations: 2.887 MB / 0.9484 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.7588, allocations: 476.4 kB / 0.9488 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.761, allocations: 1.092 MB / 0.9499 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.7627, allocations: 1.133 MB / 0.951 GB, free: 72 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006406/0.7634, allocations: 260 kB / 0.9512 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.7668, allocations: 1.748 MB / 0.9529 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.7679, allocations: 0.9468 MB / 0.9539 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.77, allocations: 1.408 MB / 0.9552 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006239/0.7762, allocations: 5.905 MB / 0.961 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7762, allocations: 0 / 0.961 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7762, allocations: 0 / 0.961 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.008e-05/0.7763, allocations: 0 / 0.961 GB, free: 5.781 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.006823/0.7831, allocations: 3.42 MB / 0.9643 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7832, allocations: 12.03 kB / 0.9644 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02442/0.8076, allocations: 2.606 MB / 0.9669 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00622/0.8139, allocations: 2.758 MB / 0.9696 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/0.8143, allocations: 190 kB / 0.9698 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.8147, allocations: 67.5 kB / 0.9698 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01/0.8247, allocations: 3.09 MB / 0.9729 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.8248, allocations: 1.969 kB / 0.9729 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.825, allocations: 16 kB / 0.9729 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.8251, allocations: 16 kB / 0.9729 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.8415, allocations: 4.531 MB / 0.9773 GB, free: 4.898 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.8624, allocations: 8.126 MB / 0.9852 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/0.8839, allocations: 4.895 MB / 0.99 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007892/0.8918, allocations: 2.13 MB / 0.9921 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007127/0.8926, allocations: 466 kB / 0.9926 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009415/0.902, allocations: 2.809 MB / 0.9953 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=79): time 4.909e-06/0.9021, allocations: 0 / 0.9953 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=79): time 0.0471/0.9492, allocations: 8.316 MB / 1.003 GB, free: 9.926 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.9493, allocations: 101.8 kB / 1.004 GB, free: 9.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008253/0.9576, allocations: 4.544 MB / 1.008 GB, free: 5.246 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006184/0.9582, allocations: 57.69 kB / 1.008 GB, free: 5.184 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.9597, allocations: 1.006 MB / 1.009 GB, free: 4.168 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007042/0.9605, allocations: 244.6 kB / 1.009 GB, free: 3.926 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.9616, allocations: 274.3 kB / 1.009 GB, free: 3.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.9618, allocations: 345.9 kB / 1.01 GB, free: 3.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008589/0.9704, allocations: 2.597 MB / 1.012 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008434/0.9788, allocations: 2.628 MB / 1.015 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/0.995, allocations: 4.055 MB / 1.019 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/0.9951, allocations: 0 / 1.019 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.03741/1.033, allocations: 6.88 MB / 1.026 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.033, allocations: 91.25 kB / 1.026 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.033, allocations: 4.062 kB / 1.026 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/1.038, allocations: 1.086 MB / 1.027 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004207/1.042, allocations: 0.5187 MB / 1.027 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.055, allocations: 10.6 MB / 1.038 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006072/1.061, allocations: 498.5 kB / 1.038 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/1.062, allocations: 82.83 kB / 1.038 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01083/1.073, allocations: 3.554 MB / 1.042 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008907/1.082, allocations: 2.611 MB / 1.044 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01565/1.098, allocations: 4.028 MB / 1.048 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/1.098, allocations: 0 / 1.048 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.03557/1.133, allocations: 6.695 MB / 1.055 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.133, allocations: 89.09 kB / 1.055 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.133, allocations: 0 / 1.055 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/1.137, allocations: 0.9104 MB / 1.056 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/1.141, allocations: 0.5148 MB / 1.056 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/1.151, allocations: 9.125 MB / 1.065 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00569/1.157, allocations: 482.8 kB / 1.065 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006121/1.157, allocations: 87.83 kB / 1.066 GB, free: 8.531 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,wetCoi.shr.on,wetCoi.cooCap.checkBoundsTCon[4],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001055/1.158, allocations: 283.1 kB / 1.066 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.16, allocations: 256.8 kB / 1.066 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03384/1.194, allocations: 5.899 MB / 1.072 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/1.194, allocations: 3.984 kB / 1.072 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.194, allocations: 0 / 1.072 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/1.197, allocations: 0.9269 MB / 1.073 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.198, allocations: 59.97 kB / 1.073 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005779/1.204, allocations: 443.4 kB / 1.073 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/1.204, allocations: 85.8 kB / 1.073 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02311/1.227, allocations: 4.921 MB / 1.078 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02644/1.254, allocations: 7.375 MB / 1.085 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0082/1.262, allocations: 2.179 MB / 1.087 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.007115/1.269, allocations: 3.236 MB / 1.091 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of Backend: time 2.044e-06/1.269, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02782/1.297, allocations: 8.074 MB / 1.099 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of SimCode: time 0.01171/1.309, allocations: 5.575 MB / 1.104 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of Templates: time 0.512/1.821, allocations: 85.46 MB / 1.187 GB, free: 283.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)