Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002483/0.002483, allocations: 354.1 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.338/1.338, allocations: 165.9 MB / 182.5 MB, free: 5.922 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.268/4.268, allocations: 410.8 MB / 0.5995 GB, free: 2.117 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001803/0.001803, allocations: 182.6 kB / 0.6662 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004851, allocations: 19.98 kB / 0.7423 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3908, allocations: 67.44 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2697/0.6605, allocations: 216.6 MB / 1.02 GB, free: 40.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.6827, allocations: 15.68 MB / 1.035 GB, free: 24.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.6853, allocations: 67.5 kB / 1.035 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.6884, allocations: 0.9503 MB / 1.036 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.7001, allocations: 3.726 MB / 1.04 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/0.7062, allocations: 1.718 MB / 1.041 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.007082/0.7133, allocations: 6.219 MB / 1.047 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.716, allocations: 1.278 MB / 1.049 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006609/0.7226, allocations: 1.906 MB / 1.05 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004628/0.7273, allocations: 1.638 MB / 1.052 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0006597/0.728, allocations: 88 kB / 1.052 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005353/0.7334, allocations: 1.114 MB / 1.053 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.7345, allocations: 0.6659 MB / 1.054 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008564/0.7354, allocations: 440.6 kB / 1.054 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.7391, allocations: 2.299 MB / 1.057 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.085e-06/0.7391, allocations: 0 / 1.057 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.543e-06/0.7391, allocations: 0 / 1.057 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.983e-05/0.7392, allocations: 4 kB / 1.057 GB, free: 2.82 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.3116/1.051, allocations: 2.077 MB / 1.059 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.051, allocations: 8.656 kB / 1.059 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/1.055, allocations: 0.5002 MB / 1.059 GB, free: 238 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/1.058, allocations: 1.208 MB / 1.06 GB, free: 237.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/1.059, allocations: 184.4 kB / 1.06 GB, free: 237.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/1.059, allocations: 148 kB / 1.061 GB, free: 237.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/1.063, allocations: 1.734 MB / 1.062 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/1.063, allocations: 3.938 kB / 1.062 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/1.063, allocations: 61.55 kB / 1.062 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-05/1.063, allocations: 59.59 kB / 1.062 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/1.067, allocations: 1.38 MB / 1.064 GB, free: 235.9 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.01209/1.079, allocations: 8.197 MB / 1.072 GB, free: 229.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/1.082, allocations: 0.9063 MB / 1.073 GB, free: 229.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/1.083, allocations: 0.534 MB / 1.073 GB, free: 229.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/1.084, allocations: 338.4 kB / 1.073 GB, free: 229 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/1.084, allocations: 47.14 kB / 1.074 GB, free: 228.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=96): time 5.087e-06/1.084, allocations: 2.734 kB / 1.074 GB, free: 228.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=102): time 0.00948/1.093, allocations: 3.147 MB / 1.077 GB, free: 227.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/1.093, allocations: 67 kB / 1.077 GB, free: 227.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/1.096, allocations: 1.241 MB / 1.078 GB, free: 226.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/1.096, allocations: 49.86 kB / 1.078 GB, free: 226.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006073/1.096, allocations: 0.8114 MB / 1.079 GB, free: 226.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/1.097, allocations: 361.1 kB / 1.079 GB, free: 225.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/1.097, allocations: 25.31 kB / 1.079 GB, free: 225.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/1.097, allocations: 356 kB / 1.079 GB, free: 225.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/1.098, allocations: 431 kB / 1.08 GB, free: 225.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/1.1, allocations: 0.8305 MB / 1.081 GB, free: 224.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/1.101, allocations: 0.5554 MB / 1.081 GB, free: 224.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.37e-06/1.101, allocations: 3.312 kB / 1.081 GB, free: 224.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003722/1.105, allocations: 1.406 MB / 1.083 GB, free: 223.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.105, allocations: 369.1 kB / 1.083 GB, free: 223.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/1.105, allocations: 8.906 kB / 1.083 GB, free: 223.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/1.105, allocations: 16.84 kB / 1.083 GB, free: 223.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.107, allocations: 277.2 kB / 1.083 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/1.107, allocations: 22.06 kB / 1.083 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/1.109, allocations: 167.2 kB / 1.083 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.109, allocations: 56.23 kB / 1.083 GB, free: 222.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.109, allocations: 4.531 kB / 1.083 GB, free: 222.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002842/1.112, allocations: 1.225 MB / 1.085 GB, free: 222.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/1.112, allocations: 8.688 kB / 1.085 GB, free: 222.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/1.112, allocations: 18.81 kB / 1.085 GB, free: 222.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.113, allocations: 280 kB / 1.085 GB, free: 222.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/1.114, allocations: 24.98 kB / 1.085 GB, free: 222.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.116, allocations: 173.6 kB / 1.085 GB, free: 222.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.116, allocations: 47.19 kB / 1.085 GB, free: 222.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.001044/1.117, allocations: 0.5022 MB / 1.086 GB, free: 221.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/1.117, allocations: 167 kB / 1.086 GB, free: 221.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/1.12, allocations: 1.167 MB / 1.087 GB, free: 221.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.12, allocations: 15.48 kB / 1.087 GB, free: 221.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.233e-06/1.12, allocations: 1.344 kB / 1.087 GB, free: 221.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/1.123, allocations: 1.086 MB / 1.088 GB, free: 220.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/1.129, allocations: 2.796 MB / 1.091 GB, free: 218.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.916e-06/1.129, allocations: 1.312 kB / 1.091 GB, free: 218.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.131, allocations: 255.3 kB / 1.091 GB, free: 218.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/1.131, allocations: 5.5 kB / 1.091 GB, free: 218.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/1.131, allocations: 30.98 kB / 1.091 GB, free: 218.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.131, allocations: 4.125 kB / 1.091 GB, free: 218.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.858e-06/1.131, allocations: 2.75 kB / 1.091 GB, free: 218.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/1.135, allocations: 1.837 MB / 1.093 GB, free: 217.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.136, allocations: 335.6 kB / 1.093 GB, free: 217.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/1.136, allocations: 24.66 kB / 1.093 GB, free: 217.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.138, allocations: 151.5 kB / 1.093 GB, free: 216.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.138, allocations: 68.56 kB / 1.093 GB, free: 216.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.139, allocations: 43.34 kB / 1.093 GB, free: 216.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001286/1.14, allocations: 0.8212 MB / 1.094 GB, free: 216 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.77e-07/1.14, allocations: 0 / 1.094 GB, free: 216 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002763/1.143, allocations: 0.7644 MB / 1.095 GB, free: 215.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[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 (102): * Single equations (assignments): 102 * 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.0006146/1.143, allocations: 271.4 kB / 1.095 GB, free: 215 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003861/1.147, allocations: 1.733 MB / 1.097 GB, free: 213.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.283e-06/1.147, allocations: 4 kB / 1.097 GB, free: 213.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.148, allocations: 0.5243 MB / 1.097 GB, free: 212.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/1.154, allocations: 0.9719 MB / 1.098 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/1.161, allocations: 4.195 MB / 1.102 GB, free: 207.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.162, allocations: 1.469 MB / 1.104 GB, free: 206.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003104/1.165, allocations: 0.56 MB / 1.104 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/1.166, allocations: 135.4 kB / 1.105 GB, free: 205.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.879e-06/1.166, allocations: 0 / 1.105 GB, free: 205.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.06097/1.227, allocations: 29.34 MB / 1.133 GB, free: 177.1 MB / 0.5886 GB