Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 196.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 287.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9558/0.9558, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.00163, allocations: 89.09 kB / 0.5945 GB, free: 28.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1674, allocations: 86.99 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5897/0.7572, allocations: 188.2 MB / 0.8632 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009513/0.7668, allocations: 5.764 MB / 0.8689 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.7682, allocations: 35.97 kB / 0.8689 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.7696, allocations: 0.4935 MB / 0.8694 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.7745, allocations: 1.733 MB / 0.8711 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.7778, allocations: 1.062 MB / 0.8721 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004598/0.7824, allocations: 4.104 MB / 0.8761 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.7837, allocations: 0.9585 MB / 0.8771 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.7852, allocations: 0.9045 MB / 0.8779 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.787, allocations: 1.002 MB / 0.8789 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.7871, allocations: 60.44 kB / 0.879 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.7903, allocations: 1.635 MB / 0.8806 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.7908, allocations: 0.5075 MB / 0.8811 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.7915, allocations: 0.6642 MB / 0.8817 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.7942, allocations: 2.354 MB / 0.884 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7942, allocations: 0 / 0.884 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7942, allocations: 0 / 0.884 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.7942, allocations: 0 / 0.884 GB, free: 4.074 MB / 0.5919 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.002447/0.7967, allocations: 1.623 MB / 0.8856 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7967, allocations: 10 kB / 0.8856 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.7987, allocations: 331.9 kB / 0.8859 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.7999, allocations: 0.8689 MB / 0.8868 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.8, allocations: 74.19 kB / 0.8868 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.8001, allocations: 105.5 kB / 0.8869 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.8019, allocations: 1.09 MB / 0.888 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.8019, allocations: 0 / 0.888 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.802, allocations: 45.03 kB / 0.8881 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.802, allocations: 34.41 kB / 0.8881 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.8036, allocations: 1.001 MB / 0.8891 GB, free: 0.8477 MB / 0.5919 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.005741/0.8094, allocations: 4.245 MB / 0.8932 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.8103, allocations: 0.595 MB / 0.8938 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.8108, allocations: 346.5 kB / 0.8941 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.811, allocations: 109.5 kB / 0.8942 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.811, allocations: 39 kB / 0.8943 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.811, allocations: 0 / 0.8943 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004011/0.815, allocations: 2.201 MB / 0.8964 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.8151, allocations: 63.97 kB / 0.8965 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009785/0.8161, allocations: 0.8803 MB / 0.8973 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.8161, allocations: 41.64 kB / 0.8974 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.8165, allocations: 0.5146 MB / 0.8979 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.8167, allocations: 193.2 kB / 0.8981 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.8169, allocations: 134.5 kB / 0.8982 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.817, allocations: 338 kB / 0.8985 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.8175, allocations: 281.8 kB / 0.8988 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.818, allocations: 436.9 kB / 0.8992 GB, free: 6.332 MB / 0.6075 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.003775/0.8218, allocations: 1.741 MB / 0.9009 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8218, allocations: 4 kB / 0.9009 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001396/0.8232, allocations: 0.9218 MB / 0.9018 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8233, allocations: 4 kB / 0.9018 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8233, allocations: 4.5 kB / 0.9018 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.8235, allocations: 106.4 kB / 0.9019 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.8242, allocations: 167.7 kB / 0.9021 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/0.8276, allocations: 4.289 MB / 0.9063 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/0.8286, allocations: 75.8 kB / 0.9063 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.8286, allocations: 31.98 kB / 0.9064 GB, free: 14.49 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.8292, allocations: 338.2 kB / 0.9067 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.8293, allocations: 94.88 kB / 0.9068 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.8295, allocations: 113.2 kB / 0.9069 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.8295, allocations: 8 kB / 0.9069 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8296, allocations: 3.938 kB / 0.9069 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.8306, allocations: 0.7652 MB / 0.9076 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.8335, allocations: 1.976 MB / 0.9096 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.8336, allocations: 8.406 kB / 0.9096 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.8342, allocations: 151.8 kB / 0.9097 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.259e-05/0.8343, allocations: 40.83 kB / 0.9098 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.8344, allocations: 19.98 kB / 0.9098 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.8355, allocations: 1.48 MB / 0.9112 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8355, allocations: 7.938 kB / 0.9112 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.8372, allocations: 1.206 MB / 0.9124 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.8376, allocations: 259.8 kB / 0.9127 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.8377, allocations: 16 kB / 0.9127 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.8385, allocations: 71.28 kB / 0.9127 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.8386, allocations: 47.83 kB / 0.9128 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.8387, allocations: 31.98 kB / 0.9128 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007519/0.8395, allocations: 0.6161 MB / 0.9134 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8395, allocations: 0 / 0.9134 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009733/0.8405, allocations: 300 kB / 0.9137 GB, free: 6.594 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004355/0.8409, allocations: 210 kB / 0.9139 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.8423, allocations: 0.9991 MB / 0.9149 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8424, allocations: 4 kB / 0.9149 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.843, allocations: 459.8 kB / 0.9153 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.8456, allocations: 0.615 MB / 0.9159 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.8488, allocations: 2.533 MB / 0.9184 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/0.8496, allocations: 1.166 MB / 0.9195 GB, free: 492 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008866/0.8504, allocations: 248.4 kB / 0.9198 GB, free: 240 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.8506, allocations: 75.44 kB / 0.9198 GB, free: 168 kB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.8506, allocations: 0 / 0.9198 GB, free: 168 kB / 0.6231 GB Notification: Performance of Templates: time 0.0334/0.8841, allocations: 21.31 MB / 0.9407 GB, free: 11.2 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)