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.5497/0.5497, allocations: 94.77 MB / 102.2 MB, free: 10.13 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.001068/0.001068, allocations: 169.7 kB / 125.5 MB, free: 11.87 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.726/1.726, allocations: 170.6 MB / 319.4 MB, free: 9.277 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.001626/0.001626, allocations: 105.8 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.786e-05, allocations: 4 kB / 449.1 MB, free: 1.707 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 61.53 MB / 0.4987 GB, free: 4.094 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.31/16.51, allocations: 5.212 GB / 5.711 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/16.51, allocations: 101.6 kB / 5.711 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8015/17.31, allocations: 138.6 MB / 5.846 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.75e-06/17.31, allocations: 7.938 kB / 5.846 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005551/17.31, allocations: 37.88 kB / 5.846 GB, free: 116.4 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.00962/17.32, allocations: 2.165 MB / 5.848 GB, free: 115 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/17.32, allocations: 6.781 kB / 5.848 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/17.32, allocations: 392 kB / 5.849 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009284/17.33, allocations: 2.408 MB / 5.851 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005132/17.33, allocations: 84.48 kB / 5.851 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006123/17.33, allocations: 38.59 kB / 5.851 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0029/17.34, allocations: 1.224 MB / 5.853 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/17.34, allocations: 1.185 MB / 5.854 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/17.34, allocations: 0 / 5.854 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/17.34, allocations: 3.281 kB / 5.854 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/17.34, allocations: 10.59 kB / 5.854 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/17.36, allocations: 5.114 MB / 5.859 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/17.36, allocations: 1.143 MB / 5.86 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009404/17.36, allocations: 0.5694 MB / 5.86 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009972/17.36, allocations: 0.9158 MB / 5.861 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/17.36, allocations: 1.123 MB / 5.862 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 4.559e-06/17.36, allocations: 0 / 5.862 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.006814/17.37, allocations: 1.923 MB / 5.864 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/17.37, allocations: 129.2 kB / 5.864 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/17.38, allocations: 3.898 MB / 5.868 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009376/17.38, allocations: 44.55 kB / 5.868 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002637/17.39, allocations: 0.9657 MB / 5.869 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007697/17.39, allocations: 212.7 kB / 5.869 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005428/17.39, allocations: 0 / 5.869 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002569/17.39, allocations: 340.3 kB / 5.87 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/17.39, allocations: 1.112 MB / 5.871 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/17.39, allocations: 1.072 MB / 5.872 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007324/17.4, allocations: 1.929 MB / 5.874 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/17.4, allocations: 0 / 5.874 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01129/17.41, allocations: 3.682 MB / 5.877 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/17.41, allocations: 224.4 kB / 5.878 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/17.41, allocations: 3.984 kB / 5.878 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/17.41, allocations: 496.1 kB / 5.878 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/17.42, allocations: 229.8 kB / 5.878 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/17.42, allocations: 3.376 MB / 5.882 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/17.42, allocations: 132.3 kB / 5.882 GB, free: 98.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/17.42, allocations: 64.94 kB / 5.882 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/17.42, allocations: 3.375 kB / 5.882 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0094/17.43, allocations: 3.415 MB / 5.885 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/17.43, allocations: 0 / 5.885 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/17.43, allocations: 432.9 kB / 5.885 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/17.44, allocations: 226.3 kB / 5.886 GB, free: 96.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/17.44, allocations: 6.68 MB / 5.892 GB, free: 90.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/17.44, allocations: 129 kB / 5.892 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004035/17.44, allocations: 63.88 kB / 5.892 GB, free: 90.46 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.0008708/17.45, allocations: 213.7 kB / 5.893 GB, free: 90.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/17.45, allocations: 245.2 kB / 5.893 GB, free: 90.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007343/17.45, allocations: 2.189 MB / 5.895 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/17.45, allocations: 8 kB / 5.895 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/17.45, allocations: 0 / 5.895 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/17.45, allocations: 7.938 kB / 5.895 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007216/17.46, allocations: 2.279 MB / 5.897 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/17.46, allocations: 4 kB / 5.897 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/17.46, allocations: 183.8 kB / 5.897 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/17.46, allocations: 0 / 5.897 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/17.46, allocations: 31.97 kB / 5.897 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004312/17.46, allocations: 0.5859 MB / 5.898 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/17.46, allocations: 0 / 5.898 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006081/17.47, allocations: 2.104 MB / 5.9 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/17.47, allocations: 0.806 MB / 5.901 GB, free: 81.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/17.47, allocations: 43.98 kB / 5.901 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/17.47, allocations: 115.9 kB / 5.901 GB, free: 81.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/17.48, allocations: 92.39 kB / 5.901 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/17.48, allocations: 51.97 kB / 5.901 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006581/17.48, allocations: 2.957 MB / 5.904 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/17.48, allocations: 0 / 5.904 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006606/17.49, allocations: 0.9483 MB / 5.905 GB, free: 77.79 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.003645/17.49, allocations: 1.318 MB / 5.906 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007431/17.5, allocations: 4.654 MB / 5.911 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/17.5, allocations: 0 / 5.911 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/17.5, allocations: 0.825 MB / 5.912 GB, free: 70.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/17.51, allocations: 0.6122 MB / 5.912 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009006/17.51, allocations: 4.103 MB / 5.916 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/17.52, allocations: 2.114 MB / 5.918 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006317/17.52, allocations: 2.316 MB / 5.92 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/17.52, allocations: 107.4 kB / 5.921 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/17.52, allocations: 0 / 5.921 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.08096/17.61, allocations: 48.41 MB / 5.968 GB, free: 13.3 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)