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.002444/0.002443, 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.439/1.439, allocations: 165.8 MB / 182.5 MB, free: 5.395 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.892/3.892, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.001726/0.001725, allocations: 192.6 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008155/0.0008158, allocations: 12 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3777, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5674/0.9452, allocations: 171.1 MB / 0.9753 GB, free: 1.004 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.9553, allocations: 5.852 MB / 0.981 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.9568, allocations: 30.62 kB / 0.981 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.9587, allocations: 0.5082 MB / 0.9815 GB, free: 424 kB / 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.006404/0.9651, allocations: 1.784 MB / 0.9833 GB, free: 12 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004597/0.9697, allocations: 1.178 MB / 0.9844 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005006/0.9748, allocations: 3.429 MB / 0.9878 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.9764, allocations: 0.8006 MB / 0.9885 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.9786, allocations: 0.8481 MB / 0.9894 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.9805, allocations: 0.9086 MB / 0.9902 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.9807, allocations: 46.5 kB / 0.9903 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.983, allocations: 0.5455 MB / 0.9908 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007631/0.9838, allocations: 0.4887 MB / 0.9913 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.9843, allocations: 283 kB / 0.9916 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.987, allocations: 1.559 MB / 0.9931 GB, free: 12.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.893e-06/0.987, allocations: 0 / 0.9931 GB, free: 12.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.401e-06/0.987, allocations: 0 / 0.9931 GB, free: 12.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.987, allocations: 0 / 0.9931 GB, free: 12.48 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002955/0.99, allocations: 1.353 MB / 0.9944 GB, free: 11.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9901, allocations: 11.88 kB / 0.9944 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.9928, allocations: 323.2 kB / 0.9947 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.9949, allocations: 0.8305 MB / 0.9955 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.196e-05/0.995, allocations: 77.44 kB / 0.9956 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.9952, allocations: 96.62 kB / 0.9957 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.9976, allocations: 1.085 MB / 0.9968 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/0.9977, allocations: 7.984 kB / 0.9968 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.9978, allocations: 41.16 kB / 0.9968 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.9979, allocations: 40.53 kB / 0.9969 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/1, allocations: 0.9912 MB / 0.9978 GB, free: 10.52 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.008451/1.009, allocations: 4.243 MB / 1.002 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.01, allocations: 0.6049 MB / 1.003 GB, free: 7.891 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/1.011, allocations: 351 kB / 1.003 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/1.011, allocations: 105.3 kB / 1.003 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.011, allocations: 43.56 kB / 1.003 GB, free: 7.695 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 8.776e-06/1.011, allocations: 7.938 kB / 1.003 GB, free: 7.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.005597/1.016, allocations: 2.215 MB / 1.005 GB, free: 6.688 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.017, allocations: 57.09 kB / 1.005 GB, free: 6.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/1.018, allocations: 0.8687 MB / 1.006 GB, free: 6.355 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.018, allocations: 37.73 kB / 1.006 GB, free: 6.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/1.019, allocations: 0.5118 MB / 1.007 GB, free: 6.043 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/1.019, allocations: 195.2 kB / 1.007 GB, free: 5.902 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/1.019, allocations: 12.88 kB / 1.007 GB, free: 5.902 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/1.019, allocations: 338.1 kB / 1.007 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/1.02, allocations: 283.2 kB / 1.007 GB, free: 5.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007892/1.021, allocations: 449.1 kB / 1.008 GB, free: 5.32 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.003706/1.024, allocations: 1.1 MB / 1.009 GB, free: 4.996 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.024, allocations: 3.281 kB / 1.009 GB, free: 4.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002099/1.026, allocations: 0.9283 MB / 1.01 GB, free: 4.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.027, allocations: 10.42 kB / 1.01 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.027, allocations: 6.625 kB / 1.01 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/1.027, allocations: 94.33 kB / 1.01 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/1.028, allocations: 172.2 kB / 1.01 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005073/1.033, allocations: 4.291 MB / 1.014 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.034, allocations: 68.05 kB / 1.014 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.48e-05/1.034, allocations: 29.2 kB / 1.014 GB, free: 0.6562 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: 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.0007852/1.035, allocations: 353.1 kB / 1.015 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/1.035, allocations: 94.88 kB / 1.015 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/1.036, allocations: 113.1 kB / 1.015 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/1.036, allocations: 4 kB / 1.015 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.151e-06/1.036, allocations: 4 kB / 1.015 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001557/1.037, allocations: 0.7667 MB / 1.016 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/1.042, allocations: 2.002 MB / 1.018 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.042, allocations: 7.953 kB / 1.018 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.044, allocations: 151.1 kB / 1.018 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/1.044, allocations: 51.48 kB / 1.018 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/1.044, allocations: 18.3 kB / 1.018 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/1.046, allocations: 1.477 MB / 1.019 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.301e-06/1.046, allocations: 8.062 kB / 1.019 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/1.048, allocations: 1.24 MB / 1.021 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/1.049, allocations: 249 kB / 1.021 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.049, allocations: 20.55 kB / 1.021 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.05, allocations: 73.42 kB / 1.021 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.05, allocations: 54.33 kB / 1.021 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.256e-05/1.051, allocations: 27.36 kB / 1.021 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001107/1.052, allocations: 0.602 MB / 1.022 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.31e-07/1.052, allocations: 0 / 1.022 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001392/1.053, allocations: 299.4 kB / 1.022 GB, free: 10.31 MB / 0.4948 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.0005424/1.054, allocations: 194.4 kB / 1.022 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00219/1.056, allocations: 1.009 MB / 1.023 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.3e-06/1.056, allocations: 0 / 1.023 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009286/1.057, allocations: 452.1 kB / 1.023 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/1.061, allocations: 0.6205 MB / 1.024 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/1.066, allocations: 2.488 MB / 1.026 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.067, allocations: 1.189 MB / 1.028 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001544/1.069, allocations: 248.4 kB / 1.028 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/1.069, allocations: 75.42 kB / 1.028 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of SimCode: time 1.809e-06/1.069, allocations: 0 / 1.028 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of Templates: time 0.05038/1.12, allocations: 20.59 MB / 1.048 GB, free: 260 kB / 0.5105 GB