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.001411/0.001414, allocations: 186.1 kB / 15.76 MB, free: 5.996 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.6771/0.6771, allocations: 82.93 MB / 99.43 MB, free: 3.297 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.213/2.213, allocations: 205.4 MB / 325.4 MB, free: 3.219 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.001033/0.001033, allocations: 90.72 kB / 393.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004502, allocations: 12 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 67.45 MB / 0.5263 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6775/0.7913, allocations: 198.8 MB / 0.7205 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02922/0.8205, allocations: 14.66 MB / 0.7348 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.8231, allocations: 59.56 kB / 0.7348 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.827, allocations: 1.065 MB / 0.7359 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.8395, allocations: 3.464 MB / 0.7393 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/0.8463, allocations: 1.727 MB / 0.7409 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00641/0.8527, allocations: 3.04 MB / 0.7439 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.8555, allocations: 1.302 MB / 0.7452 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.8605, allocations: 1.803 MB / 0.7469 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.8629, allocations: 1.109 MB / 0.748 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.8633, allocations: 84 kB / 0.7481 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.8676, allocations: 1.244 MB / 0.7493 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.8688, allocations: 0.6193 MB / 0.7499 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009564/0.8698, allocations: 436.6 kB / 0.7503 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.8743, allocations: 2.283 MB / 0.7526 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8743, allocations: 0 / 0.7526 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.51e-06/0.8744, allocations: 4 kB / 0.7526 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.8744, allocations: 0 / 0.7526 GB, free: 7.641 MB / 0.5261 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.005014/0.8794, allocations: 2.074 MB / 0.7546 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.8795, allocations: 12.03 kB / 0.7546 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004143/0.8836, allocations: 0.501 MB / 0.7551 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/0.887, allocations: 1.204 MB / 0.7563 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.8872, allocations: 186.2 kB / 0.7565 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.8876, allocations: 147.9 kB / 0.7566 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/0.8918, allocations: 1.725 MB / 0.7583 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/0.8919, allocations: 15.84 kB / 0.7583 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.8921, allocations: 60 kB / 0.7584 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-05/0.8922, allocations: 58.69 kB / 0.7584 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003696/0.8959, allocations: 1.377 MB / 0.7598 GB, free: 88 kB / 0.5261 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.01374/0.9097, allocations: 8.183 MB / 0.7677 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.9119, allocations: 0.9316 MB / 0.7687 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.9124, allocations: 158.3 kB / 0.7688 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.9125, allocations: 44.44 kB / 0.7688 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=96): time 3.994e-06/0.9125, allocations: 0 / 0.7688 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of matching and sorting (n=102): time 0.009579/0.9221, allocations: 3.151 MB / 0.7719 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.9222, allocations: 64.41 kB / 0.772 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.9246, allocations: 1.238 MB / 0.7732 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.9248, allocations: 49.7 kB / 0.7732 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.9257, allocations: 0.817 MB / 0.774 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/0.9262, allocations: 366.7 kB / 0.7744 GB, free: 284 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.9263, allocations: 20 kB / 0.7744 GB, free: 264 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.9266, allocations: 349.9 kB / 0.7747 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.9278, allocations: 438.4 kB / 0.7752 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.9294, allocations: 0.8235 MB / 0.776 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.9309, allocations: 0.5573 MB / 0.7765 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-06/0.9309, allocations: 4 kB / 0.7765 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003616/0.9345, allocations: 1.39 MB / 0.7779 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.9366, allocations: 3.674 MB / 0.7815 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.9367, allocations: 8 kB / 0.7815 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/0.9367, allocations: 16 kB / 0.7815 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.9384, allocations: 275.6 kB / 0.7817 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.649e-05/0.9385, allocations: 27.88 kB / 0.7818 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.9406, allocations: 175 kB / 0.7819 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.9408, allocations: 52 kB / 0.782 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.9408, allocations: 4 kB / 0.782 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003187/0.944, allocations: 1.234 MB / 0.7832 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.9441, allocations: 8 kB / 0.7832 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.9441, allocations: 16 kB / 0.7832 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.9457, allocations: 276.2 kB / 0.7835 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-05/0.9457, allocations: 23.92 kB / 0.7835 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.9479, allocations: 171 kB / 0.7837 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.9481, allocations: 55.98 kB / 0.7837 GB, free: 6.34 MB / 0.5573 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.001198/0.9493, allocations: 0.5045 MB / 0.7842 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.9497, allocations: 162 kB / 0.7844 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.9528, allocations: 1.17 MB / 0.7855 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.9529, allocations: 12 kB / 0.7855 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.9529, allocations: 0 / 0.7855 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002494/0.9554, allocations: 1.083 MB / 0.7866 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007042/0.9624, allocations: 2.793 MB / 0.7893 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.74e-06/0.9625, allocations: 0 / 0.7893 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.9642, allocations: 252 kB / 0.7895 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/0.9642, allocations: 8 kB / 0.7896 GB, free: 212 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.9643, allocations: 27.98 kB / 0.7896 GB, free: 184 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.802e-05/0.9644, allocations: 15.89 kB / 0.7896 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.994e-06/0.9644, allocations: 0 / 0.7896 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/0.9689, allocations: 1.935 MB / 0.7915 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.97, allocations: 335 kB / 0.7918 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.9703, allocations: 27.95 kB / 0.7918 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/0.9723, allocations: 151.6 kB / 0.792 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.9725, allocations: 60.92 kB / 0.792 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.9727, allocations: 43.97 kB / 0.7921 GB, free: 13.51 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001687/0.9744, allocations: 0.8227 MB / 0.7929 GB, free: 12.69 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.205e-06/0.9744, allocations: 0 / 0.7929 GB, free: 12.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003019/0.9774, allocations: 0.7655 MB / 0.7936 GB, free: 11.93 MB / 0.573 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.0007579/0.9782, allocations: 274.3 kB / 0.7939 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004553/0.9828, allocations: 1.736 MB / 0.7956 GB, free: 9.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.9828, allocations: 7.938 kB / 0.7956 GB, free: 9.922 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.9842, allocations: 0.5171 MB / 0.7961 GB, free: 9.402 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005675/0.9899, allocations: 0.9448 MB / 0.797 GB, free: 8.465 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/0.9985, allocations: 4.205 MB / 0.8011 GB, free: 4.203 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/1, allocations: 1.473 MB / 0.8026 GB, free: 2.699 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003215/1.003, allocations: 0.5563 MB / 0.8031 GB, free: 2.137 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/1.004, allocations: 131.4 kB / 0.8032 GB, free: 2.008 MB / 0.573 GB Notification: Performance of SimCode: time 1.874e-06/1.004, allocations: 3.938 kB / 0.8032 GB, free: 2.004 MB / 0.573 GB Notification: Performance of Templates: time 0.3909/1.395, allocations: 29.31 MB / 0.8319 GB, free: 205.9 MB / 0.573 GB