Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002465/0.002465, allocations: 355.7 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.395/1.395, allocations: 165.8 MB / 182.5 MB, free: 5.371 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.932/3.932, allocations: 410.8 MB / 0.5995 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001691/0.00169, allocations: 193.1 kB / 0.6662 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004565, allocations: 16 kB / 0.7423 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3667, allocations: 67.44 MB / 0.8082 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6179/0.9847, allocations: 190.4 MB / 0.9941 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02201/1.007, allocations: 12.72 MB / 1.007 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/1.009, allocations: 54 kB / 1.007 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/1.012, allocations: 0.6747 MB / 1.007 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008964/1.021, allocations: 2.292 MB / 1.009 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01037/1.032, allocations: 2.926 MB / 1.012 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006026/1.038, allocations: 4.002 MB / 1.016 GB, free: 9.473 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/1.04, allocations: 0.9989 MB / 1.017 GB, free: 9.043 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/1.044, allocations: 1.473 MB / 1.019 GB, free: 8.461 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/1.046, allocations: 1.049 MB / 1.02 GB, free: 8.043 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/1.047, allocations: 63.16 kB / 1.02 GB, free: 8.043 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/1.052, allocations: 2.036 MB / 1.022 GB, free: 7.441 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008116/1.053, allocations: 369.3 kB / 1.022 GB, free: 7.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007333/1.054, allocations: 346.6 kB / 1.022 GB, free: 7.184 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/1.058, allocations: 2.283 MB / 1.025 GB, free: 5.379 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.058, allocations: 0 / 1.025 GB, free: 5.379 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.504e-06/1.058, allocations: 0 / 1.025 GB, free: 5.379 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/1.058, allocations: 0 / 1.025 GB, free: 5.379 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006026/1.065, allocations: 2.064 MB / 1.027 GB, free: 3.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.065, allocations: 12.02 kB / 1.027 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00389/1.068, allocations: 0.5884 MB / 1.027 GB, free: 2.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/1.072, allocations: 1.205 MB / 1.028 GB, free: 1.863 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008043/1.073, allocations: 225.3 kB / 1.029 GB, free: 1.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/1.073, allocations: 116.1 kB / 1.029 GB, free: 1.605 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/1.077, allocations: 1.365 MB / 1.03 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/1.077, allocations: 3.938 kB / 1.03 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/1.077, allocations: 41.56 kB / 1.03 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.052e-05/1.077, allocations: 41.98 kB / 1.03 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/1.082, allocations: 1.385 MB / 1.032 GB, free: 15.57 MB / 0.4948 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.01207/1.094, allocations: 5.341 MB / 1.037 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/1.098, allocations: 1.186 MB / 1.038 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/1.1, allocations: 0.5645 MB / 1.038 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/1.101, allocations: 0.7803 MB / 1.039 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002058/1.103, allocations: 0.6271 MB / 1.04 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 4.598e-06/1.103, allocations: 0 / 1.04 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.006046/1.11, allocations: 1.678 MB / 1.041 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.11, allocations: 137.2 kB / 1.042 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/1.112, allocations: 1.335 MB / 1.043 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002195/1.112, allocations: 51.45 kB / 1.043 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/1.113, allocations: 0.6514 MB / 1.044 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/1.114, allocations: 285.3 kB / 1.044 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/1.114, allocations: 22.38 kB / 1.044 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.114, allocations: 355 kB / 1.044 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/1.116, allocations: 0.5392 MB / 1.045 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/1.118, allocations: 0.8406 MB / 1.046 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/1.12, allocations: 0.6137 MB / 1.046 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-06/1.12, allocations: 5.859 kB / 1.046 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004989/1.125, allocations: 1.556 MB / 1.048 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002641/1.125, allocations: 268.8 kB / 1.048 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/1.125, allocations: 11.98 kB / 1.048 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/1.125, allocations: 12 kB / 1.048 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.128, allocations: 353.4 kB / 1.048 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/1.129, allocations: 1.194 MB / 1.049 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1.131, allocations: 251.8 kB / 1.05 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/1.131, allocations: 50.53 kB / 1.05 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.131, allocations: 4 kB / 1.05 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004468/1.136, allocations: 1.404 MB / 1.051 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.136, allocations: 4 kB / 1.051 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.136, allocations: 15.95 kB / 1.051 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.138, allocations: 319.7 kB / 1.051 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/1.138, allocations: 13.86 kB / 1.051 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.14, allocations: 229.7 kB / 1.052 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/1.14, allocations: 48.23 kB / 1.052 GB, free: 14.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00101/1.141, allocations: 420.5 kB / 1.052 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/1.142, allocations: 154 kB / 1.052 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/1.146, allocations: 1.386 MB / 1.054 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.146, allocations: 12 kB / 1.054 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.625e-06/1.146, allocations: 0 / 1.054 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.146, allocations: 7.922 kB / 1.054 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/1.154, allocations: 2.895 MB / 1.056 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.154, allocations: 4 kB / 1.056 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.156, allocations: 244.1 kB / 1.057 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/1.156, allocations: 8 kB / 1.057 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.156, allocations: 31.97 kB / 1.057 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009323/1.157, allocations: 1.188 MB / 1.058 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.278e-06/1.157, allocations: 8.062 kB / 1.058 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006531/1.163, allocations: 2.14 MB / 1.06 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.165, allocations: 366.7 kB / 1.06 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/1.165, allocations: 24 kB / 1.06 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.167, allocations: 131.8 kB / 1.061 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.167, allocations: 76.52 kB / 1.061 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.167, allocations: 39.97 kB / 1.061 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001821/1.169, allocations: 0.883 MB / 1.061 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.248e-06/1.169, allocations: 1.859 kB / 1.061 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002935/1.172, allocations: 0.8347 MB / 1.062 GB, free: 3.297 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/1.173, allocations: 0.4886 MB / 1.063 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00739/1.181, allocations: 2.229 MB / 1.065 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.181, allocations: 4 kB / 1.065 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002517/1.183, allocations: 0.6669 MB / 1.066 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/1.188, allocations: 0.7011 MB / 1.066 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0076/1.195, allocations: 3.283 MB / 1.069 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.197, allocations: 1.27 MB / 1.071 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002828/1.2, allocations: 416 kB / 1.071 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/1.2, allocations: 129.2 kB / 1.071 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of SimCode: time 1.859e-06/1.2, allocations: 0 / 1.071 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of Templates: time 0.07367/1.274, allocations: 29.73 MB / 1.1 GB, free: 12.61 MB / 0.5573 GB