Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6105/0.6105, allocations: 94.7 MB / 107.3 MB, free: 5.168 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001155/0.001155, allocations: 174.8 kB / 130.7 MB, free: 7.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.728/1.728, allocations: 170.5 MB / 324.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001738/0.001738, allocations: 111.8 kB / 386.6 MB, free: 16.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.696e-05/5.699e-05, allocations: 8 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5353/0.5354, allocations: 61.51 MB / 0.5054 GB, free: 49.36 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.9/16.44, allocations: 5.213 GB / 5.718 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004179/16.44, allocations: 101.9 kB / 5.718 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2856/16.73, allocations: 141 MB / 5.856 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.346e-06/16.73, allocations: 0 / 5.856 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001403/16.73, allocations: 36.16 kB / 5.856 GB, free: 18.58 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005698/16.73, allocations: 2.173 MB / 5.858 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/16.73, allocations: 8.031 kB / 5.858 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/16.73, allocations: 392.6 kB / 5.859 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/16.74, allocations: 2.412 MB / 5.861 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/16.74, allocations: 106.8 kB / 5.861 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/16.74, allocations: 47.95 kB / 5.861 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/16.74, allocations: 1.231 MB / 5.862 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/16.74, allocations: 0 / 5.862 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/16.74, allocations: 16 kB / 5.862 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/16.74, allocations: 15.97 kB / 5.862 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/16.74, allocations: 1.253 MB / 5.864 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/16.76, allocations: 5.206 MB / 5.869 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/16.76, allocations: 1.164 MB / 5.87 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/16.76, allocations: 0.5921 MB / 5.87 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/16.76, allocations: 0.9225 MB / 5.871 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/16.76, allocations: 1.138 MB / 5.872 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 8.486e-06/16.76, allocations: 0 / 5.872 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.4734/17.24, allocations: 1.536 MB / 5.874 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/17.24, allocations: 124.2 kB / 5.874 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008643/17.24, allocations: 4.046 MB / 5.878 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/17.25, allocations: 59.92 kB / 5.878 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/17.25, allocations: 0.9849 MB / 5.879 GB, free: 105 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/17.25, allocations: 215.1 kB / 5.879 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/17.25, allocations: 22.69 kB / 5.879 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001421/17.25, allocations: 340.6 kB / 5.879 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/17.25, allocations: 1.107 MB / 5.881 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/17.25, allocations: 1.082 MB / 5.882 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/17.25, allocations: 1.096 MB / 5.883 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/17.25, allocations: 0.6562 kB / 5.883 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005179/17.26, allocations: 2.868 MB / 5.885 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/17.26, allocations: 224.9 kB / 5.886 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/17.26, allocations: 0 / 5.886 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/17.26, allocations: 0.5586 MB / 5.886 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/17.26, allocations: 221.7 kB / 5.886 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/17.26, allocations: 3.305 MB / 5.89 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/17.27, allocations: 148 kB / 5.89 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/17.27, allocations: 70.05 kB / 5.89 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/17.27, allocations: 1.938 kB / 5.89 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005446/17.27, allocations: 2.68 MB / 5.893 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/17.27, allocations: 0 / 5.893 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/17.28, allocations: 433.5 kB / 5.893 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/17.28, allocations: 224.3 kB / 5.893 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/17.28, allocations: 6.915 MB / 5.9 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/17.28, allocations: 146.3 kB / 5.9 GB, free: 95.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003604/17.28, allocations: 64.19 kB / 5.9 GB, free: 95.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006981/17.29, allocations: 233.3 kB / 5.9 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009525/17.29, allocations: 253.7 kB / 5.901 GB, free: 95.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/17.29, allocations: 1.811 MB / 5.902 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/17.29, allocations: 6.781 kB / 5.902 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/17.29, allocations: 5.672 kB / 5.902 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/17.29, allocations: 1.688 kB / 5.902 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/17.29, allocations: 2.374 MB / 5.905 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/17.29, allocations: 0 / 5.905 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/17.3, allocations: 174.5 kB / 5.905 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/17.3, allocations: 7.578 kB / 5.905 GB, free: 94.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.733e-05/17.3, allocations: 27 kB / 5.905 GB, free: 94.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003159/17.3, allocations: 0.5873 MB / 5.905 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/17.3, allocations: 0 / 5.905 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/17.3, allocations: 1.715 MB / 5.907 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/17.3, allocations: 0.8011 MB / 5.908 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/17.3, allocations: 59.55 kB / 5.908 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/17.3, allocations: 133 kB / 5.908 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/17.3, allocations: 81.02 kB / 5.908 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/17.3, allocations: 56.73 kB / 5.908 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005711/17.31, allocations: 3.097 MB / 5.911 GB, free: 93.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/17.31, allocations: 0 / 5.911 GB, free: 93.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005143/17.31, allocations: 1.001 MB / 5.912 GB, free: 93.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent) * Number of discrete states: 8 (speRat.last,speRat.nextEvent,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003226/17.32, allocations: 1.188 MB / 5.913 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00891/17.33, allocations: 4.738 MB / 5.918 GB, free: 92.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/17.33, allocations: 1.562 kB / 5.918 GB, free: 92.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/17.33, allocations: 0.8452 MB / 5.919 GB, free: 92.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/17.33, allocations: 0.6212 MB / 5.919 GB, free: 92.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/17.34, allocations: 4.157 MB / 5.923 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002432/17.35, allocations: 2.11 MB / 5.926 GB, free: 90.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00834/17.35, allocations: 2.342 MB / 5.928 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/17.36, allocations: 112.2 kB / 5.928 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of SimCode: time 2.294e-06/17.36, allocations: 0 / 5.928 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.1264/17.48, allocations: 63.33 MB / 5.99 GB, free: 80.88 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)