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.001514/0.001514, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001473/0.001474, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 290.9 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9852/0.9852, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 97.09 kB / 0.5947 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1672, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5224/0.6897, allocations: 188 MB / 0.8632 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.7006, allocations: 5.658 MB / 0.8687 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.7027, allocations: 36.12 kB / 0.8688 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.7042, allocations: 0.5081 MB / 0.8693 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.7088, allocations: 1.737 MB / 0.8709 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.7115, allocations: 1.078 MB / 0.872 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.7146, allocations: 2.952 MB / 0.8749 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.7158, allocations: 1.086 MB / 0.8759 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.7172, allocations: 1.062 MB / 0.877 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.7189, allocations: 1.032 MB / 0.878 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.7191, allocations: 123.8 kB / 0.8781 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.7218, allocations: 1.519 MB / 0.8796 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005058/0.7223, allocations: 0.5717 MB / 0.8801 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.723, allocations: 0.731 MB / 0.8809 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.7257, allocations: 2.42 MB / 0.8832 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.7257, allocations: 4 kB / 0.8832 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7257, allocations: 0 / 0.8832 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.7257, allocations: 0 / 0.8832 GB, free: 4.582 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.002405/0.7282, allocations: 1.615 MB / 0.8848 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7282, allocations: 10.12 kB / 0.8848 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.7301, allocations: 331 kB / 0.8851 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.7314, allocations: 0.8638 MB / 0.886 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.7315, allocations: 78 kB / 0.886 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.7316, allocations: 101.3 kB / 0.8861 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.7334, allocations: 1.096 MB / 0.8872 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.7335, allocations: 0 / 0.8872 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.7336, allocations: 42.47 kB / 0.8873 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.7336, allocations: 45.27 kB / 0.8873 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.7351, allocations: 0.9886 MB / 0.8883 GB, free: 1.367 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.005659/0.7408, allocations: 4.245 MB / 0.8924 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.7417, allocations: 0.5961 MB / 0.893 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.7421, allocations: 342.5 kB / 0.8933 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.7423, allocations: 109.5 kB / 0.8934 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.7424, allocations: 42.98 kB / 0.8935 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.7424, allocations: 7.938 kB / 0.8935 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004058/0.7464, allocations: 2.197 MB / 0.8956 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.7465, allocations: 59.97 kB / 0.8957 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.7476, allocations: 0.8842 MB / 0.8965 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.7476, allocations: 37.7 kB / 0.8966 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.748, allocations: 0.5185 MB / 0.8971 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.7482, allocations: 197.2 kB / 0.8973 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.7484, allocations: 130.5 kB / 0.8974 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7485, allocations: 334 kB / 0.8977 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.749, allocations: 293.8 kB / 0.898 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.7495, allocations: 432.9 kB / 0.8984 GB, free: 7.16 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.003692/0.7532, allocations: 1.747 MB / 0.9001 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7532, allocations: 0 / 0.9001 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001396/0.7546, allocations: 0.9218 MB / 0.901 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.7547, allocations: 8.5 kB / 0.901 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.7547, allocations: 11.98 kB / 0.901 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.7549, allocations: 94.47 kB / 0.9011 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.7556, allocations: 163.8 kB / 0.9013 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.7591, allocations: 4.632 MB / 0.9058 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009743/0.7601, allocations: 75.7 kB / 0.9059 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.7602, allocations: 24 kB / 0.9059 GB, free: 14.97 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.0005266/0.7607, allocations: 350.8 kB / 0.9062 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.7609, allocations: 98.88 kB / 0.9063 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.7611, allocations: 109.2 kB / 0.9064 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7611, allocations: 8 kB / 0.9064 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7611, allocations: 3.984 kB / 0.9064 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/0.7622, allocations: 0.7614 MB / 0.9072 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.7653, allocations: 1.993 MB / 0.9091 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.7653, allocations: 4 kB / 0.9091 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.766, allocations: 143.8 kB / 0.9093 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.181e-05/0.7661, allocations: 40.83 kB / 0.9093 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.7661, allocations: 20.19 kB / 0.9093 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.7673, allocations: 1.61 MB / 0.9109 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.7674, allocations: 4 kB / 0.9109 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.7691, allocations: 1.214 MB / 0.9121 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.7695, allocations: 259.8 kB / 0.9123 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.7697, allocations: 11.94 kB / 0.9123 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.7706, allocations: 80.69 kB / 0.9124 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7707, allocations: 35.95 kB / 0.9125 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.7708, allocations: 39.92 kB / 0.9125 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007792/0.7716, allocations: 0.6122 MB / 0.9131 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7716, allocations: 0 / 0.9131 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001035/0.7727, allocations: 304 kB / 0.9134 GB, free: 6.922 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.000548/0.7732, allocations: 193.3 kB / 0.9136 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.775, allocations: 1.113 MB / 0.9147 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.775, allocations: 0 / 0.9147 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00063/0.7756, allocations: 451.4 kB / 0.9151 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.7784, allocations: 0.6573 MB / 0.9157 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.7823, allocations: 2.514 MB / 0.9182 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/0.7832, allocations: 1.17 MB / 0.9193 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009446/0.7842, allocations: 248.4 kB / 0.9196 GB, free: 472 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.7844, allocations: 79.42 kB / 0.9196 GB, free: 396 kB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.7844, allocations: 0 / 0.9196 GB, free: 396 kB / 0.6231 GB Notification: Performance of Templates: time 0.03674/0.8212, allocations: 22.09 MB / 0.9412 GB, free: 10.68 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)