Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.647/4.647, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00237/0.002369, allocations: 356.5 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.825/3.825, allocations: 410.7 MB / 1.112 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001794/0.001794, allocations: 180.3 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005136, allocations: 12 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.5851, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl): time 0.2366/0.8217, allocations: 247.8 MB / 1.703 GB, free: 36.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03155/0.8533, allocations: 23.96 MB / 1.726 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003356/0.8567, allocations: 87.44 kB / 1.726 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.8605, allocations: 1.114 MB / 1.727 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.8723, allocations: 3.847 MB / 1.731 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.8835, allocations: 3.503 MB / 1.734 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.6153/1.499, allocations: 18.96 MB / 1.753 GB, free: 36.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007793/1.507, allocations: 4.978 MB / 1.758 GB, free: 35.58 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/1.517, allocations: 4.81 MB / 1.763 GB, free: 35.57 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00794/1.525, allocations: 4.396 MB / 1.767 GB, free: 35.55 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/1.526, allocations: 242 kB / 1.767 GB, free: 35.55 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008285/1.535, allocations: 2.425 MB / 1.769 GB, free: 35.55 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/1.537, allocations: 1.506 MB / 1.771 GB, free: 35.55 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00318/1.541, allocations: 1.42 MB / 1.772 GB, free: 35.52 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/1.554, allocations: 10.04 MB / 1.782 GB, free: 34.95 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.4e-06/1.554, allocations: 0 / 1.782 GB, free: 34.95 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.799e-06/1.554, allocations: 0.9062 kB / 1.782 GB, free: 34.95 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002049/1.554, allocations: 0 / 1.782 GB, free: 34.95 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01766/1.572, allocations: 6.32 MB / 1.788 GB, free: 32.26 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.572, allocations: 8.219 kB / 1.788 GB, free: 32.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.583, allocations: 1.343 MB / 1.79 GB, free: 31.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.598, allocations: 6.037 MB / 1.795 GB, free: 31.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/1.598, allocations: 329.5 kB / 1.796 GB, free: 31.06 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/1.6, allocations: 447.2 kB / 1.796 GB, free: 31.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/1.614, allocations: 6.177 MB / 1.802 GB, free: 30.17 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/1.615, allocations: 6.594 kB / 1.802 GB, free: 30.17 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000637/1.615, allocations: 176.3 kB / 1.802 GB, free: 30.17 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/1.615, allocations: 203.8 kB / 1.803 GB, free: 30.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/1.629, allocations: 5.434 MB / 1.808 GB, free: 29.14 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/1.673, allocations: 25.34 MB / 1.833 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007527/1.681, allocations: 4.534 MB / 1.837 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00429/1.685, allocations: 2.25 MB / 1.839 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.686, allocations: 0.9228 MB / 1.84 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003765/1.69, allocations: 1.921 MB / 1.842 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=287): time 7.511e-06/1.69, allocations: 0 / 1.842 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=291): time 0.02693/1.717, allocations: 10.15 MB / 1.852 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/1.717, allocations: 192.5 kB / 1.852 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007949/1.725, allocations: 4.441 MB / 1.856 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006894/1.726, allocations: 93.95 kB / 1.857 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002641/1.728, allocations: 2.414 MB / 1.859 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.73, allocations: 1.016 MB / 1.86 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.73, allocations: 68 kB / 1.86 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000216/1.73, allocations: 449 kB / 1.86 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/1.734, allocations: 1.681 MB / 1.862 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005139/1.739, allocations: 2.577 MB / 1.865 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004671/1.744, allocations: 2.176 MB / 1.867 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.744, allocations: 5.125 kB / 1.867 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01203/1.756, allocations: 4.939 MB / 1.872 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004647/1.756, allocations: 0.5374 MB / 1.872 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/1.756, allocations: 16 kB / 1.872 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.757, allocations: 253.5 kB / 1.872 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/1.762, allocations: 0.7124 MB / 1.873 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/1.766, allocations: 3.42 MB / 1.876 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006473/1.773, allocations: 0.5553 MB / 1.877 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005236/1.773, allocations: 126.7 kB / 1.877 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.773, allocations: 4 kB / 1.877 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01018/1.783, allocations: 4.505 MB / 1.881 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.503e-05/1.784, allocations: 16.12 kB / 1.881 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/1.784, allocations: 220.6 kB / 1.882 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/1.789, allocations: 0.7061 MB / 1.882 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/1.794, allocations: 4.099 MB / 1.886 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/1.801, allocations: 0.5356 MB / 1.887 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/1.801, allocations: 126.3 kB / 1.887 GB, free: 11.06 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (394): * Single equations (assignments): 384 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004966/1.806, allocations: 2.187 MB / 1.889 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.808, allocations: 470.3 kB / 1.89 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009832/1.818, allocations: 4.281 MB / 1.894 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/1.818, allocations: 28 kB / 1.894 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.818, allocations: 8 kB / 1.894 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007786/1.825, allocations: 3.567 MB / 1.897 GB, free: 3.801 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02572/1.851, allocations: 10.48 MB / 1.907 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.851, allocations: 4 kB / 1.907 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004335/1.856, allocations: 0.6647 MB / 1.908 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006727/1.856, allocations: 173.8 kB / 1.908 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003895/1.857, allocations: 89.52 kB / 1.908 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/1.861, allocations: 3.319 MB / 1.912 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.709e-06/1.861, allocations: 4 kB / 1.912 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.874, allocations: 6.567 MB / 1.918 GB, free: 4.02 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/1.878, allocations: 1.034 MB / 1.919 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.88, allocations: 79.16 kB / 1.919 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005269/1.885, allocations: 445 kB / 1.92 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/1.885, allocations: 185.8 kB / 1.92 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003569/1.886, allocations: 106.5 kB / 1.92 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006834/1.893, allocations: 3.105 MB / 1.923 GB, free: 356 kB / 0.9011 GB Notification: Performance of sort global known variables: time 1.157e-06/1.893, allocations: 4 kB / 1.923 GB, free: 352 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0126/1.905, allocations: 2.573 MB / 1.925 GB, free: 13.94 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (281): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/1.907, allocations: 0.6271 MB / 1.926 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01478/1.922, allocations: 6.911 MB / 1.933 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/1.922, allocations: 6.062 kB / 1.933 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/1.926, allocations: 2.075 MB / 1.935 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01691/1.943, allocations: 2.894 MB / 1.938 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/1.972, allocations: 14.15 MB / 1.951 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00613/1.978, allocations: 4.215 MB / 1.956 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01125/1.989, allocations: 2.445 MB / 1.958 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.991, allocations: 348.2 kB / 1.958 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of SimCode: time 1.798e-06/1.991, allocations: 0 / 1.958 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of Templates: time 0.2294/2.22, allocations: 100.2 MB / 2.056 GB, free: 15.23 MB / 1.042 GB