Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.771/4.771, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 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.002374/0.002373, allocations: 356.3 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.753/3.753, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001709/0.001708, allocations: 188.1 kB / 1.225 GB, free: 35.92 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005276/0.0005278, allocations: 14.06 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.154, allocations: 115.3 MB / 1.461 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.8779/1.032, allocations: 250 MB / 1.705 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.04401/1.076, allocations: 24.95 MB / 1.729 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/1.08, allocations: 95.38 kB / 1.729 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004649/1.085, allocations: 1.145 MB / 1.73 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/1.099, allocations: 3.988 MB / 1.734 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01329/1.113, allocations: 3.601 MB / 1.738 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.03017/1.143, allocations: 20.13 MB / 1.758 GB, free: 8.168 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/1.153, allocations: 5.699 MB / 1.763 GB, free: 2.406 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/1.165, allocations: 5.013 MB / 1.768 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009075/1.174, allocations: 4.656 MB / 1.773 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001329/1.176, allocations: 260 kB / 1.773 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009245/1.185, allocations: 2.619 MB / 1.775 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003079/1.188, allocations: 1.599 MB / 1.777 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003203/1.191, allocations: 1.561 MB / 1.778 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/1.208, allocations: 11.21 MB / 1.789 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.226e-06/1.208, allocations: 0 / 1.789 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.721e-06/1.208, allocations: 0 / 1.789 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002391/1.209, allocations: 0 / 1.789 GB, free: 7.398 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.01999/1.229, allocations: 6.904 MB / 1.796 GB, free: 416 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.229, allocations: 12.03 kB / 1.796 GB, free: 404 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/1.24, allocations: 1.525 MB / 1.798 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/1.257, allocations: 6.434 MB / 1.804 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/1.257, allocations: 373.5 kB / 1.804 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/1.259, allocations: 0.5076 MB / 1.805 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/1.277, allocations: 7.09 MB / 1.812 GB, free: 248 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/1.277, allocations: 7.938 kB / 1.812 GB, free: 240 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007933/1.278, allocations: 196 kB / 1.812 GB, free: 44 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003245/1.278, allocations: 225.4 kB / 1.812 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/1.296, allocations: 6.263 MB / 1.818 GB, free: 9.543 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 preOpt removeSimpleEquations (simulation): time 0.05642/1.352, allocations: 28.01 MB / 1.846 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009157/1.361, allocations: 4.568 MB / 1.85 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005923/1.367, allocations: 2.579 MB / 1.853 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/1.369, allocations: 0.9311 MB / 1.853 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005113/1.374, allocations: 2.199 MB / 1.856 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=323): time 9.103e-06/1.374, allocations: 0 / 1.856 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of matching and sorting (n=327): time 0.03271/1.407, allocations: 11.56 MB / 1.867 GB, free: 5.445 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/1.407, allocations: 196.7 kB / 1.867 GB, free: 5.215 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/1.417, allocations: 4.826 MB / 1.872 GB, free: 400 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006681/1.418, allocations: 97.69 kB / 1.872 GB, free: 296 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003871/1.422, allocations: 2.679 MB / 1.874 GB, free: 13.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.424, allocations: 1.132 MB / 1.876 GB, free: 12.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/1.424, allocations: 75.98 kB / 1.876 GB, free: 12.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003779/1.425, allocations: 457.6 kB / 1.876 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004589/1.429, allocations: 1.916 MB / 1.878 GB, free: 9.988 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006022/1.435, allocations: 2.851 MB / 1.881 GB, free: 6.816 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0057/1.441, allocations: 2.455 MB / 1.883 GB, free: 4.344 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-05/1.441, allocations: 4 kB / 1.883 GB, free: 4.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.5876/2.029, allocations: 5.501 MB / 1.889 GB, free: 334.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003061/2.029, allocations: 0.5668 MB / 1.889 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/2.029, allocations: 15.08 kB / 1.889 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/2.03, allocations: 253.8 kB / 1.889 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00507/2.035, allocations: 0.8096 MB / 1.89 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/2.039, allocations: 3.426 MB / 1.893 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007209/2.046, allocations: 0.593 MB / 1.894 GB, free: 331.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008762/2.047, allocations: 141 kB / 1.894 GB, free: 331.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/2.047, allocations: 6.688 kB / 1.894 GB, free: 331.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01244/2.06, allocations: 5.037 MB / 1.899 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.716e-05/2.06, allocations: 16.06 kB / 1.899 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008164/2.061, allocations: 221 kB / 1.899 GB, free: 329.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004924/2.066, allocations: 0.8033 MB / 1.9 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/2.071, allocations: 4.096 MB / 1.904 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006514/2.078, allocations: 0.5836 MB / 1.905 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007162/2.078, allocations: 134.8 kB / 1.905 GB, free: 325.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (434): * Single equations (assignments): 424 * 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.005465/2.084, allocations: 2.418 MB / 1.907 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/2.085, allocations: 0.4933 MB / 1.908 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/2.097, allocations: 4.898 MB / 1.912 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/2.097, allocations: 32.28 kB / 1.912 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/2.097, allocations: 2.047 kB / 1.912 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009728/2.107, allocations: 4.074 MB / 1.916 GB, free: 321.2 MB / 0.948 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.02843/2.135, allocations: 11.84 MB / 1.928 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/2.136, allocations: 4.656 kB / 1.928 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00485/2.14, allocations: 0.7442 MB / 1.929 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006631/2.141, allocations: 163.2 kB / 1.929 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005057/2.142, allocations: 96.25 kB / 1.929 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/2.145, allocations: 3.322 MB / 1.932 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.64e-06/2.145, allocations: 7.906 kB / 1.932 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/2.16, allocations: 7.538 MB / 1.94 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003497/2.163, allocations: 1.134 MB / 1.941 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/2.164, allocations: 88.14 kB / 1.941 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005699/2.17, allocations: 482.5 kB / 1.941 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006748/2.171, allocations: 206.1 kB / 1.941 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000409/2.171, allocations: 118.5 kB / 1.942 GB, free: 309.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0069/2.178, allocations: 3.373 MB / 1.945 GB, free: 307.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.53e-07/2.178, allocations: 0 / 1.945 GB, free: 307.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01212/2.19, allocations: 2.754 MB / 1.948 GB, free: 307.6 MB / 0.948 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 (318): * Single equations (assignments): 310 * 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.00177/2.192, allocations: 0.6371 MB / 1.948 GB, free: 307.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01508/2.207, allocations: 7.738 MB / 1.956 GB, free: 301.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/2.207, allocations: 8.5 kB / 1.956 GB, free: 301.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00434/2.212, allocations: 2.347 MB / 1.958 GB, free: 299 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01629/2.228, allocations: 3.036 MB / 1.961 GB, free: 296.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/2.254, allocations: 15.68 MB / 1.976 GB, free: 280.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006358/2.26, allocations: 4.668 MB / 1.981 GB, free: 275.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01155/2.272, allocations: 2.718 MB / 1.984 GB, free: 272.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/2.274, allocations: 375.4 kB / 1.984 GB, free: 272.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.747e-06/2.274, allocations: 0 / 1.984 GB, free: 272.6 MB / 0.948 GB Notification: Performance of Templates: time 0.2064/2.48, allocations: 106.5 MB / 2.088 GB, free: 167.3 MB / 0.948 GB