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.001278/0.001278, 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.001337/0.001337, allocations: 196.8 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002535/0.002535, allocations: 275 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 1.103/1.103, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 95.28 kB / 0.6057 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1746, allocations: 89.15 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.528/0.7026, allocations: 188.2 MB / 0.8766 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009561/0.7122, allocations: 5.761 MB / 0.8822 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.714, allocations: 38.81 kB / 0.8823 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.7159, allocations: 0.4952 MB / 0.8827 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00502/0.7209, allocations: 1.728 MB / 0.8844 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.7238, allocations: 1.07 MB / 0.8855 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004505/0.7284, allocations: 4.1 MB / 0.8895 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.7297, allocations: 0.958 MB / 0.8904 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.7313, allocations: 0.9062 MB / 0.8913 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.7331, allocations: 1.002 MB / 0.8923 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.7333, allocations: 60 kB / 0.8923 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.7364, allocations: 1.64 MB / 0.8939 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005869/0.737, allocations: 0.5142 MB / 0.8944 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007827/0.7378, allocations: 0.657 MB / 0.8951 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.7408, allocations: 2.356 MB / 0.8974 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7408, allocations: 0 / 0.8974 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.52e-07/0.7408, allocations: 4 kB / 0.8974 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.7408, allocations: 4 kB / 0.8974 GB, free: 10.55 MB / 0.6231 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.002721/0.7436, allocations: 1.617 MB / 0.899 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7436, allocations: 11.97 kB / 0.899 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.7457, allocations: 334.2 kB / 0.8993 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.7474, allocations: 0.8668 MB / 0.9001 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/0.7475, allocations: 74 kB / 0.9002 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.7477, allocations: 99.98 kB / 0.9003 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.7497, allocations: 1.1 MB / 0.9014 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.7497, allocations: 3.938 kB / 0.9014 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.7499, allocations: 44 kB / 0.9014 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.7499, allocations: 38 kB / 0.9015 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.7518, allocations: 0.9915 MB / 0.9024 GB, free: 5.273 MB / 0.6231 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.006451/0.7582, allocations: 4.235 MB / 0.9066 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/0.7592, allocations: 0.6064 MB / 0.9072 GB, free: 128 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.7598, allocations: 345.1 kB / 0.9075 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.76, allocations: 101.5 kB / 0.9076 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.7601, allocations: 47 kB / 0.9076 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 3.116e-06/0.7601, allocations: 0 / 0.9076 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004474/0.7646, allocations: 2.197 MB / 0.9098 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.7646, allocations: 59.97 kB / 0.9098 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.7658, allocations: 0.8842 MB / 0.9107 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.7659, allocations: 45.7 kB / 0.9107 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.7663, allocations: 0.5184 MB / 0.9112 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.7665, allocations: 189.3 kB / 0.9114 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.7667, allocations: 134.5 kB / 0.9116 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7669, allocations: 334 kB / 0.9119 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005444/0.7674, allocations: 285.8 kB / 0.9121 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.7681, allocations: 433 kB / 0.9126 GB, free: 10.36 MB / 0.6387 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.004209/0.7723, allocations: 1.754 MB / 0.9143 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7723, allocations: 0 / 0.9143 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001606/0.7739, allocations: 0.9301 MB / 0.9152 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.774, allocations: 8 kB / 0.9152 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.774, allocations: 0 / 0.9152 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.7742, allocations: 98.45 kB / 0.9153 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.775, allocations: 171.7 kB / 0.9154 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.7788, allocations: 4.282 MB / 0.9196 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.7798, allocations: 59.91 kB / 0.9197 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.7799, allocations: 31.98 kB / 0.9197 GB, free: 2.539 MB / 0.6387 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.0005755/0.7804, allocations: 345.5 kB / 0.92 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.7806, allocations: 106.9 kB / 0.9201 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.7809, allocations: 109.2 kB / 0.9202 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7809, allocations: 4 kB / 0.9203 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7809, allocations: 3.938 kB / 0.9203 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.7821, allocations: 0.7653 MB / 0.921 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.7854, allocations: 1.98 MB / 0.9229 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.7854, allocations: 4 kB / 0.9229 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.7861, allocations: 148.2 kB / 0.9231 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.7863, allocations: 52.81 kB / 0.9231 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.7863, allocations: 12 kB / 0.9231 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.7877, allocations: 1.48 MB / 0.9246 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7877, allocations: 4.062 kB / 0.9246 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.7896, allocations: 1.21 MB / 0.9258 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/0.7902, allocations: 255.8 kB / 0.926 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.7903, allocations: 23.92 kB / 0.926 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008192/0.7911, allocations: 72.02 kB / 0.9261 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.7913, allocations: 47.83 kB / 0.9262 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/0.7914, allocations: 35.97 kB / 0.9262 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009895/0.7924, allocations: 0.6161 MB / 0.9268 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7924, allocations: 0 / 0.9268 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001221/0.7936, allocations: 304 kB / 0.9271 GB, free: 10.61 MB / 0.6544 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.0006787/0.7943, allocations: 207 kB / 0.9273 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.7962, allocations: 0.9924 MB / 0.9282 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7962, allocations: 0 / 0.9282 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/0.7969, allocations: 450.2 kB / 0.9287 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.7997, allocations: 0.6211 MB / 0.9293 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.8036, allocations: 2.517 MB / 0.9317 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.8044, allocations: 1.17 MB / 0.9329 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001024/0.8055, allocations: 256.4 kB / 0.9331 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.8057, allocations: 79.44 kB / 0.9332 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.8057, allocations: 0 / 0.9332 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of Templates: time 0.03904/0.8447, allocations: 21.32 MB / 0.954 GB, free: 15.23 MB / 0.6856 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)