Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 183.5 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6739/0.6739, allocations: 82.93 MB / 99.42 MB, free: 3.285 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 325.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 96.91 kB / 393.6 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004532, allocations: 12 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.0902, allocations: 67.46 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.54/0.6302, allocations: 155.7 MB / 0.6784 GB, free: 2.738 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01934/0.6496, allocations: 10.89 MB / 0.6891 GB, free: 8.852 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.6508, allocations: 19.88 kB / 0.6891 GB, free: 8.832 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.6525, allocations: 441.9 kB / 0.6895 GB, free: 8.398 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003923/0.6565, allocations: 1.032 MB / 0.6905 GB, free: 7.363 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.6599, allocations: 0.8198 MB / 0.6913 GB, free: 6.555 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.6626, allocations: 1.152 MB / 0.6924 GB, free: 5.402 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.6638, allocations: 0.6203 MB / 0.693 GB, free: 4.773 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.6675, allocations: 1.207 MB / 0.6942 GB, free: 3.562 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.6685, allocations: 426.3 kB / 0.6946 GB, free: 3.145 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.6687, allocations: 36 kB / 0.6947 GB, free: 3.109 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.6702, allocations: 423.3 kB / 0.6951 GB, free: 2.695 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.6706, allocations: 307.1 kB / 0.6954 GB, free: 2.395 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.671, allocations: 201.3 kB / 0.6955 GB, free: 2.191 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.6726, allocations: 0.9819 MB / 0.6965 GB, free: 1.207 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.446e-06/0.6727, allocations: 4 kB / 0.6965 GB, free: 1.203 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6727, allocations: 0 / 0.6965 GB, free: 1.203 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.6727, allocations: 0 / 0.6965 GB, free: 1.203 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002006/0.6747, allocations: 1.04 MB / 0.6975 GB, free: 116 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6748, allocations: 8.031 kB / 0.6975 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.6764, allocations: 218.6 kB / 0.6977 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.6778, allocations: 0.6134 MB / 0.6983 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.6779, allocations: 61.95 kB / 0.6984 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.6781, allocations: 79.98 kB / 0.6985 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.68, allocations: 0.9209 MB / 0.6994 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.68, allocations: 4 kB / 0.6994 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.6801, allocations: 32 kB / 0.6994 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.6802, allocations: 29.31 kB / 0.6994 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.6816, allocations: 0.6138 MB / 0.7 GB, free: 13.41 MB / 490.7 MB 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.006348/0.688, allocations: 4.586 MB / 0.7045 GB, free: 8.531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.6891, allocations: 0.5364 MB / 0.705 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.6892, allocations: 8.688 kB / 0.7051 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/0.6892, allocations: 46.5 kB / 0.7051 GB, free: 7.891 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 4.487e-06/0.6893, allocations: 0 / 0.7051 GB, free: 7.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.003941/0.6932, allocations: 1.58 MB / 0.7066 GB, free: 6.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/0.6933, allocations: 115 kB / 0.7067 GB, free: 6.113 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.6945, allocations: 0.7037 MB / 0.7074 GB, free: 5.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.6946, allocations: 37.7 kB / 0.7075 GB, free: 5.359 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.6951, allocations: 415.7 kB / 0.7079 GB, free: 4.949 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.6953, allocations: 157.7 kB / 0.708 GB, free: 4.793 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.6953, allocations: 16 kB / 0.708 GB, free: 4.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.6956, allocations: 386.8 kB / 0.7084 GB, free: 4.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.696, allocations: 181.2 kB / 0.7086 GB, free: 4.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/0.6967, allocations: 417 kB / 0.709 GB, free: 3.711 MB / 490.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.699, allocations: 0.6667 MB / 0.7096 GB, free: 3.031 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.143e-06/0.699, allocations: 4 kB / 0.7096 GB, free: 3.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001528/0.7005, allocations: 0.6562 MB / 0.7103 GB, free: 2.363 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.7006, allocations: 8 kB / 0.7103 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.7006, allocations: 8 kB / 0.7103 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.7006, allocations: 11.94 kB / 0.7103 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.7013, allocations: 139.8 kB / 0.7104 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.328e-05/0.7014, allocations: 11.95 kB / 0.7104 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.7022, allocations: 52.19 kB / 0.7105 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.7023, allocations: 32 kB / 0.7105 GB, free: 2.105 MB / 490.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005657/0.7029, allocations: 273.3 kB / 0.7108 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.7032, allocations: 79.06 kB / 0.7109 GB, free: 1.754 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.7034, allocations: 99.66 kB / 0.711 GB, free: 1.648 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.764e-06/0.7034, allocations: 4 kB / 0.711 GB, free: 1.645 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-06/0.7034, allocations: 0 / 0.711 GB, free: 1.645 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.7045, allocations: 0.6988 MB / 0.7116 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.7081, allocations: 1.646 MB / 0.7132 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.7082, allocations: 4 kB / 0.7132 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.7088, allocations: 103.8 kB / 0.7133 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.7089, allocations: 4 kB / 0.7134 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.7089, allocations: 15.98 kB / 0.7134 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.709, allocations: 8 kB / 0.7134 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.592e-06/0.709, allocations: 7.938 kB / 0.7134 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.7108, allocations: 1.079 MB / 0.7144 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004848/0.7114, allocations: 200.2 kB / 0.7146 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.7115, allocations: 19.98 kB / 0.7146 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/0.7122, allocations: 35.89 kB / 0.7147 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.7124, allocations: 43.84 kB / 0.7147 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.7124, allocations: 16 kB / 0.7147 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00097/0.7134, allocations: 0.5029 MB / 0.7152 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.47e-07/0.7134, allocations: 4 kB / 0.7152 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001109/0.7145, allocations: 196 kB / 0.7154 GB, free: 12.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005556/0.7151, allocations: 192.9 kB / 0.7156 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.7163, allocations: 480.3 kB / 0.7161 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.7163, allocations: 3.938 kB / 0.7161 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.7168, allocations: 205.1 kB / 0.7163 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.7194, allocations: 450.7 kB / 0.7167 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.7231, allocations: 1.985 MB / 0.7186 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009089/0.724, allocations: 1.044 MB / 0.7196 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001046/0.7251, allocations: 195 kB / 0.7198 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.7254, allocations: 75.36 kB / 0.7199 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of SimCode: time 1.735e-06/0.7254, allocations: 3.938 kB / 0.7199 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of Templates: time 0.03546/0.7609, allocations: 13.92 MB / 0.7335 GB, free: 10.24 MB / 0.5105 GB