Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002662/0.002668, allocations: 354.8 kB / 16.58 MB, free: 5.566 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.406/1.406, allocations: 165.8 MB / 183.1 MB, free: 5.422 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.787/3.787, allocations: 410.7 MB / 0.6001 GB, free: 15.16 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.001827/0.001827, allocations: 192.3 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004774, allocations: 15.94 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4081, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.182/6.59, allocations: 2.077 GB / 2.886 GB, free: 13.85 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/6.59, allocations: 101.1 kB / 2.886 GB, free: 13.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.369/10.96, allocations: 0.803 GB / 3.689 GB, free: 69.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.335e-06/10.96, allocations: 3.719 kB / 3.689 GB, free: 69.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002781/10.96, allocations: 37.19 kB / 3.689 GB, free: 69.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.009763/10.97, allocations: 2.373 MB / 3.691 GB, free: 68.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/10.97, allocations: 12.64 kB / 3.691 GB, free: 68.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/10.97, allocations: 423.8 kB / 3.692 GB, free: 68.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/10.98, allocations: 1.82 MB / 3.693 GB, free: 67.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/10.98, allocations: 78.47 kB / 3.694 GB, free: 67.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003566/10.98, allocations: 112.4 kB / 3.694 GB, free: 67.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/10.99, allocations: 1.201 MB / 3.695 GB, free: 67.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.886e-05/10.99, allocations: 0 / 3.695 GB, free: 67.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/10.99, allocations: 45 kB / 3.695 GB, free: 67.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/10.99, allocations: 34.03 kB / 3.695 GB, free: 67.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/10.99, allocations: 0.9161 MB / 3.696 GB, free: 67.41 MB / 0.5886 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.01106/11, allocations: 4.927 MB / 3.701 GB, free: 65.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/11, allocations: 0.943 MB / 3.702 GB, free: 64.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/11, allocations: 399.1 kB / 3.702 GB, free: 64.97 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/11.01, allocations: 104.1 kB / 3.702 GB, free: 64.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/11.01, allocations: 487.1 kB / 3.702 GB, free: 64.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/11.01, allocations: 92.2 kB / 3.703 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=71): time 5.35e-06/11.01, allocations: 0 / 3.703 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=71): time 0.005743/11.01, allocations: 1.303 MB / 3.704 GB, free: 64.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/11.01, allocations: 187.9 kB / 3.704 GB, free: 64.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/11.02, allocations: 1.181 MB / 3.705 GB, free: 64.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/11.02, allocations: 44.89 kB / 3.705 GB, free: 64.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/11.02, allocations: 0.6596 MB / 3.706 GB, free: 63.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/11.02, allocations: 248.7 kB / 3.706 GB, free: 63.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/11.02, allocations: 17.53 kB / 3.706 GB, free: 63.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001011/11.02, allocations: 343.4 kB / 3.706 GB, free: 63.45 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/11.02, allocations: 340.7 kB / 3.707 GB, free: 63.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/11.02, allocations: 0.6282 MB / 3.707 GB, free: 63.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/11.02, allocations: 454.2 kB / 3.708 GB, free: 62.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/11.02, allocations: 0 / 3.708 GB, free: 62.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00365/11.03, allocations: 1.154 MB / 3.709 GB, free: 62.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/11.03, allocations: 267 kB / 3.709 GB, free: 62.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/11.03, allocations: 7.719 kB / 3.709 GB, free: 62.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/11.03, allocations: 96.11 kB / 3.709 GB, free: 62.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/11.03, allocations: 204.5 kB / 3.709 GB, free: 62.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008705/11.03, allocations: 1.211 MB / 3.711 GB, free: 60.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/11.03, allocations: 103.3 kB / 3.711 GB, free: 60.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/11.03, allocations: 50.7 kB / 3.711 GB, free: 60.95 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/11.03, allocations: 3.594 kB / 3.711 GB, free: 60.95 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003469/11.04, allocations: 1.042 MB / 3.712 GB, free: 60.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/11.04, allocations: 7.375 kB / 3.712 GB, free: 60.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007084/11.04, allocations: 113.3 kB / 3.712 GB, free: 60.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/11.04, allocations: 187.1 kB / 3.712 GB, free: 60.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/11.04, allocations: 2.671 MB / 3.715 GB, free: 58.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/11.05, allocations: 93.98 kB / 3.715 GB, free: 58.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/11.05, allocations: 48.77 kB / 3.715 GB, free: 58.45 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001294/11.05, allocations: 470.1 kB / 3.715 GB, free: 58.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/11.05, allocations: 133.7 kB / 3.715 GB, free: 58.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/11.05, allocations: 0.9769 MB / 3.716 GB, free: 57.65 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/11.05, allocations: 7.469 kB / 3.716 GB, free: 57.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/11.05, allocations: 3.312 kB / 3.716 GB, free: 57.65 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002891/11.05, allocations: 0.8618 MB / 3.717 GB, free: 57.24 MB / 0.5886 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.006718/11.06, allocations: 2.311 MB / 3.72 GB, free: 56.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/11.06, allocations: 0 / 3.72 GB, free: 56.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/11.06, allocations: 166.8 kB / 3.72 GB, free: 56.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003841/11.06, allocations: 81.41 kB / 3.72 GB, free: 56.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/11.06, allocations: 22.98 kB / 3.72 GB, free: 56.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006706/11.06, allocations: 1.191 MB / 3.721 GB, free: 54.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/11.06, allocations: 0 / 3.721 GB, free: 54.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004452/11.07, allocations: 1.469 MB / 3.722 GB, free: 54.24 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/11.07, allocations: 279.6 kB / 3.723 GB, free: 54.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/11.07, allocations: 19 kB / 3.723 GB, free: 54.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/11.07, allocations: 105.9 kB / 3.723 GB, free: 54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/11.07, allocations: 57.02 kB / 3.723 GB, free: 53.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/11.07, allocations: 27.81 kB / 3.723 GB, free: 53.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001687/11.07, allocations: 0.8003 MB / 3.724 GB, free: 53.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-07/11.07, allocations: 0 / 3.724 GB, free: 53.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004405/11.08, allocations: 1.096 MB / 3.725 GB, free: 53.34 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005374/11.08, allocations: 2.778 MB / 3.727 GB, free: 52.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005308/11.09, allocations: 1.68 MB / 3.729 GB, free: 50.87 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/11.09, allocations: 4 kB / 3.729 GB, free: 50.87 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/11.09, allocations: 415 kB / 3.729 GB, free: 50.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/11.1, allocations: 0.6562 MB / 3.73 GB, free: 50.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/11.1, allocations: 3.165 MB / 3.733 GB, free: 47.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009641/11.1, allocations: 1.322 MB / 3.734 GB, free: 46.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002373/11.11, allocations: 333.9 kB / 3.735 GB, free: 45.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/11.11, allocations: 102.9 kB / 3.735 GB, free: 45.69 MB / 0.5886 GB Notification: Performance of SimCode: time 1.553e-06/11.11, allocations: 0 / 3.735 GB, free: 45.69 MB / 0.5886 GB Notification: Performance of Templates: time 0.1214/11.23, allocations: 54.11 MB / 3.788 GB, free: 10.86 MB / 0.6042 GB