Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.001404, allocations: 182.3 kB / 15.77 MB, free: 6.375 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.6588/0.6588, allocations: 82.93 MB / 99.42 MB, free: 2.258 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.119/2.119, allocations: 205.4 MB / 325.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009837/0.0009832, allocations: 89.59 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007575/0.0007579, allocations: 12 kB / 471.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3988, allocations: 67.42 MB / 0.5263 GB, free: 55.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2248/0.6236, allocations: 158.2 MB / 0.6808 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.6359, allocations: 5.586 MB / 0.6863 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.6372, allocations: 31.75 kB / 0.6863 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.6398, allocations: 0.5677 MB / 0.6869 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006424/0.6463, allocations: 1.624 MB / 0.6884 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.6512, allocations: 1.2 MB / 0.6896 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005402/0.6567, allocations: 1.66 MB / 0.6912 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.6592, allocations: 0.8135 MB / 0.692 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.6624, allocations: 0.7708 MB / 0.6928 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.6644, allocations: 0.5955 MB / 0.6934 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003513/0.6648, allocations: 48 kB / 0.6934 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.6686, allocations: 0.6279 MB / 0.694 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.6699, allocations: 454.8 kB / 0.6945 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008571/0.6708, allocations: 285.1 kB / 0.6947 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.6754, allocations: 1.531 MB / 0.6962 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.746e-06/0.6755, allocations: 0 / 0.6962 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.251e-06/0.6755, allocations: 0 / 0.6962 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.491e-05/0.6756, allocations: 0 / 0.6962 GB, free: 4.512 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.005157/0.6807, allocations: 1.351 MB / 0.6975 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.6808, allocations: 12.03 kB / 0.6976 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.6858, allocations: 330.2 kB / 0.6979 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.6896, allocations: 0.8323 MB / 0.6987 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.6898, allocations: 74 kB / 0.6988 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/0.6903, allocations: 99.95 kB / 0.6989 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005131/0.6954, allocations: 1.077 MB / 0.6999 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.688e-05/0.6955, allocations: 0 / 0.6999 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.6958, allocations: 47.94 kB / 0.7 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.6959, allocations: 34 kB / 0.7 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3274/1.023, allocations: 0.9905 MB / 0.701 GB, free: 162.6 MB / 0.5105 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.008328/1.032, allocations: 4.236 MB / 0.7051 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.033, allocations: 0.5987 MB / 0.7057 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.922e-05/1.033, allocations: 17.06 kB / 0.7057 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.033, allocations: 48.7 kB / 0.7057 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 4.162e-06/1.033, allocations: 3.969 kB / 0.7057 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.005354/1.039, allocations: 2.216 MB / 0.7079 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/1.039, allocations: 60.95 kB / 0.708 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.04, allocations: 0.8663 MB / 0.7088 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-05/1.04, allocations: 42.52 kB / 0.7088 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/1.041, allocations: 0.5083 MB / 0.7093 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/1.041, allocations: 198 kB / 0.7095 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/1.041, allocations: 17.81 kB / 0.7095 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/1.041, allocations: 331 kB / 0.7099 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/1.042, allocations: 288.7 kB / 0.7101 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/1.043, allocations: 446.9 kB / 0.7106 GB, free: 156.8 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/1.047, allocations: 1.094 MB / 0.7116 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.303e-06/1.047, allocations: 4.344 kB / 0.7116 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002181/1.049, allocations: 0.9276 MB / 0.7125 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.049, allocations: 6.906 kB / 0.7126 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.049, allocations: 3.375 kB / 0.7126 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/1.049, allocations: 101.7 kB / 0.7127 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/1.05, allocations: 177.3 kB / 0.7128 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003713/1.054, allocations: 4.33 MB / 0.717 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.055, allocations: 71.95 kB / 0.7171 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/1.055, allocations: 29.2 kB / 0.7171 GB, free: 151.9 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006883/1.056, allocations: 339 kB / 0.7175 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.056, allocations: 102.3 kB / 0.7176 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/1.056, allocations: 108.1 kB / 0.7177 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-06/1.056, allocations: 5.609 kB / 0.7177 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.791e-06/1.056, allocations: 5.688 kB / 0.7177 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/1.058, allocations: 0.7719 MB / 0.7184 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/1.062, allocations: 2.006 MB / 0.7204 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.882e-06/1.062, allocations: 3.844 kB / 0.7204 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008994/1.063, allocations: 156.3 kB / 0.7205 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/1.064, allocations: 40.69 kB / 0.7206 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/1.064, allocations: 20.69 kB / 0.7206 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/1.065, allocations: 1.503 MB / 0.7221 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.143e-06/1.065, allocations: 3.375 kB / 0.7221 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/1.067, allocations: 1.404 MB / 0.7234 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/1.068, allocations: 246 kB / 0.7237 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/1.068, allocations: 19.22 kB / 0.7237 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.069, allocations: 69.25 kB / 0.7238 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.07, allocations: 54.92 kB / 0.7238 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/1.07, allocations: 27.81 kB / 0.7238 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001008/1.071, allocations: 0.6083 MB / 0.7244 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.91e-07/1.071, allocations: 0 / 0.7244 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001309/1.072, allocations: 299.5 kB / 0.7247 GB, free: 147.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004708/1.072, allocations: 192.5 kB / 0.7249 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.074, allocations: 1.015 MB / 0.7259 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.47e-06/1.074, allocations: 1.875 kB / 0.7259 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008324/1.075, allocations: 455.1 kB / 0.7263 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.079, allocations: 0.6127 MB / 0.7269 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/1.083, allocations: 2.473 MB / 0.7293 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/1.084, allocations: 1.197 MB / 0.7305 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001466/1.085, allocations: 246.1 kB / 0.7308 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.086, allocations: 79.86 kB / 0.7308 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.609e-06/1.086, allocations: 0 / 0.7308 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.04255/1.128, allocations: 20.57 MB / 0.7509 GB, free: 125.7 MB / 0.5105 GB