Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002648/0.002651, allocations: 351.9 kB / 15.94 MB, free: 6.211 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.505/1.505, allocations: 165.8 MB / 182.5 MB, free: 5.484 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.855/3.855, allocations: 410.8 MB / 0.5995 GB, free: 15.11 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.001695/0.001695, allocations: 203.2 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008144/0.0008147, allocations: 19.98 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3777, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5758/0.9536, allocations: 171 MB / 0.9751 GB, free: 1.129 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.9644, allocations: 5.828 MB / 0.9808 GB, free: 0.707 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.966, allocations: 35.31 kB / 0.9808 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.9679, allocations: 0.4956 MB / 0.9813 GB, free: 0.5547 MB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006376/0.9743, allocations: 1.789 MB / 0.9831 GB, free: 152 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.9792, allocations: 1.172 MB / 0.9842 GB, free: 0 / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005249/0.9845, allocations: 2.985 MB / 0.9871 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.9859, allocations: 0.6939 MB / 0.9878 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.988, allocations: 0.796 MB / 0.9886 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.9897, allocations: 0.7701 MB / 0.9893 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.99, allocations: 39.94 kB / 0.9894 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.9926, allocations: 0.8167 MB / 0.9902 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006625/0.9933, allocations: 424.5 kB / 0.9906 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004466/0.9938, allocations: 241.9 kB / 0.9908 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.9962, allocations: 1.451 MB / 0.9922 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.817e-06/0.9962, allocations: 0 / 0.9922 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.576e-06/0.9962, allocations: 0 / 0.9922 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.9963, allocations: 4 kB / 0.9922 GB, free: 13.14 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002608/0.9989, allocations: 1.244 MB / 0.9935 GB, free: 12.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9989, allocations: 7.531 kB / 0.9935 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/1.002, allocations: 342.4 kB / 0.9938 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.004, allocations: 0.7563 MB / 0.9945 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/1.004, allocations: 134.5 kB / 0.9947 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/1.004, allocations: 85.47 kB / 0.9947 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/1.006, allocations: 1.063 MB / 0.9958 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.007, allocations: 0 / 0.9958 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/1.007, allocations: 41.94 kB / 0.9958 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.059e-05/1.007, allocations: 36.7 kB / 0.9958 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/1.009, allocations: 0.8347 MB / 0.9967 GB, free: 11.17 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.007503/1.016, allocations: 4.053 MB / 1.001 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/1.017, allocations: 377.7 kB / 1.001 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/1.017, allocations: 213.4 kB / 1.001 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/1.018, allocations: 103.4 kB / 1.001 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.018, allocations: 39.66 kB / 1.001 GB, free: 8.277 MB / 490.7 MB Notification: Performance of pre-optimization done (n=36): time 4.468e-06/1.018, allocations: 0 / 1.001 GB, free: 8.277 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.003588/1.021, allocations: 1.331 MB / 1.003 GB, free: 7.711 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/1.021, allocations: 54.28 kB / 1.003 GB, free: 7.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.023, allocations: 0.9804 MB / 1.004 GB, free: 7.336 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/1.024, allocations: 36.02 kB / 1.004 GB, free: 7.305 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/1.024, allocations: 491.2 kB / 1.004 GB, free: 7.059 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/1.024, allocations: 141.5 kB / 1.004 GB, free: 6.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/1.024, allocations: 11.22 kB / 1.004 GB, free: 6.961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/1.024, allocations: 328.1 kB / 1.005 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/1.025, allocations: 238.3 kB / 1.005 GB, free: 6.602 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/1.026, allocations: 421.2 kB / 1.005 GB, free: 6.348 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/1.028, allocations: 0.732 MB / 1.006 GB, free: 6.109 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.028, allocations: 2.938 kB / 1.006 GB, free: 6.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001902/1.03, allocations: 0.747 MB / 1.007 GB, free: 5.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.03, allocations: 11.38 kB / 1.007 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.03, allocations: 9.109 kB / 1.007 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.03, allocations: 10.42 kB / 1.007 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/1.031, allocations: 142.4 kB / 1.007 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/1.031, allocations: 15.73 kB / 1.007 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.033, allocations: 104.1 kB / 1.007 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/1.033, allocations: 25.28 kB / 1.007 GB, free: 5.832 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0006299/1.033, allocations: 304.9 kB / 1.007 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/1.034, allocations: 96.38 kB / 1.007 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/1.034, allocations: 105.3 kB / 1.007 GB, free: 5.609 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.034, allocations: 14.36 kB / 1.007 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.193e-06/1.034, allocations: 0 / 1.007 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009471/1.035, allocations: 0.6795 MB / 1.008 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/1.038, allocations: 1.582 MB / 1.01 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.955e-06/1.038, allocations: 3 kB / 1.01 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/1.039, allocations: 88.98 kB / 1.01 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.039, allocations: 5.094 kB / 1.01 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/1.039, allocations: 14.69 kB / 1.01 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/1.039, allocations: 5.75 kB / 1.01 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.039, allocations: 11.58 kB / 1.01 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/1.04, allocations: 0.8447 MB / 1.011 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/1.041, allocations: 234.9 kB / 1.011 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/1.041, allocations: 14.09 kB / 1.011 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009832/1.042, allocations: 56.98 kB / 1.011 GB, free: 3.723 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/1.042, allocations: 41.39 kB / 1.011 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/1.042, allocations: 26.17 kB / 1.011 GB, free: 3.699 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001319/1.044, allocations: 0.6949 MB / 1.012 GB, free: 3.477 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.84e-07/1.044, allocations: 0 / 1.012 GB, free: 3.477 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00121/1.045, allocations: 256.3 kB / 1.012 GB, free: 3.469 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0005712/1.045, allocations: 200.9 kB / 1.012 GB, free: 3.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/1.047, allocations: 0.489 MB / 1.013 GB, free: 2.973 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.047, allocations: 6.047 kB / 1.013 GB, free: 2.969 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/1.047, allocations: 190.8 kB / 1.013 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/1.051, allocations: 0.5952 MB / 1.013 GB, free: 2.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.055, allocations: 2.155 MB / 1.015 GB, free: 276 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.056, allocations: 1.114 MB / 1.017 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001454/1.057, allocations: 238.1 kB / 1.017 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/1.058, allocations: 71.42 kB / 1.017 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of SimCode: time 1.812e-06/1.058, allocations: 0 / 1.017 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.04627/1.104, allocations: 18.35 MB / 1.035 GB, free: 12.77 MB / 0.5105 GB