Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.008131/0.008131, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001341/0.001341, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 251.7 MB / 0.5094 GB, free: 3.078 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.91 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2217, allocations: 104.7 MB / 0.8281 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7712/0.993, allocations: 221.4 MB / 1.044 GB, free: 15.36 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0111/1.004, allocations: 5.796 MB / 1.05 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/1.006, allocations: 43.75 kB / 1.05 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/1.008, allocations: 0.6058 MB / 1.051 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005339/1.014, allocations: 1.957 MB / 1.052 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/1.017, allocations: 1.241 MB / 1.054 GB, free: 5.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004692/1.022, allocations: 3.195 MB / 1.057 GB, free: 2.504 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/1.024, allocations: 1.176 MB / 1.058 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/1.027, allocations: 1.183 MB / 1.059 GB, free: 128 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/1.03, allocations: 0.9928 MB / 1.06 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004539/1.03, allocations: 128 kB / 1.06 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/1.034, allocations: 1.462 MB / 1.062 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009295/1.035, allocations: 0.6039 MB / 1.062 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/1.036, allocations: 0.7468 MB / 1.063 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004478/1.041, allocations: 2.426 MB / 1.065 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.041, allocations: 0 / 1.065 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.004e-06/1.041, allocations: 0 / 1.065 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.778e-05/1.041, allocations: 8 kB / 1.065 GB, free: 9.75 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00367/1.045, allocations: 1.655 MB / 1.067 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.045, allocations: 8.031 kB / 1.067 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/1.047, allocations: 338 kB / 1.067 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/1.049, allocations: 0.9059 MB / 1.068 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/1.049, allocations: 78.02 kB / 1.068 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/1.049, allocations: 107.9 kB / 1.068 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/1.051, allocations: 1.101 MB / 1.069 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/1.051, allocations: 4 kB / 1.069 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.051, allocations: 48 kB / 1.069 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/1.051, allocations: 49.88 kB / 1.07 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.053, allocations: 0.9954 MB / 1.07 GB, free: 4.328 MB / 0.8106 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.007218/1.06, allocations: 4.25 MB / 1.075 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/1.061, allocations: 0.5858 MB / 1.075 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/1.062, allocations: 341 kB / 1.076 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.062, allocations: 101.5 kB / 1.076 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.062, allocations: 51 kB / 1.076 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/1.062, allocations: 0 / 1.076 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55): time 0.004785/1.067, allocations: 2.194 MB / 1.078 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.067, allocations: 55.97 kB / 1.078 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/1.068, allocations: 0.8969 MB / 1.079 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/1.068, allocations: 37.7 kB / 1.079 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/1.069, allocations: 0.5262 MB / 1.079 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/1.069, allocations: 193.2 kB / 1.079 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/1.069, allocations: 138.5 kB / 1.08 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.07, allocations: 330 kB / 1.08 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/1.07, allocations: 285.8 kB / 1.08 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/1.071, allocations: 444.4 kB / 1.081 GB, free: 9.355 MB / 0.8262 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.003671/1.074, allocations: 1.68 MB / 1.082 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.074, allocations: 0 / 1.082 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001706/1.076, allocations: 0.9255 MB / 1.083 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.076, allocations: 12.5 kB / 1.083 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.076, allocations: 4 kB / 1.083 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/1.076, allocations: 102.5 kB / 1.083 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/1.077, allocations: 164.6 kB / 1.083 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/1.081, allocations: 4.636 MB / 1.088 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.082, allocations: 31.97 kB / 1.088 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/1.082, allocations: 28 kB / 1.088 GB, free: 1.262 MB / 0.8262 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: 19 * 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.0007218/1.083, allocations: 354.8 kB / 1.088 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/1.083, allocations: 106.8 kB / 1.088 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/1.083, allocations: 117.3 kB / 1.089 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.083, allocations: 4 kB / 1.089 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/1.083, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/1.085, allocations: 0.7575 MB / 1.089 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/1.088, allocations: 1.997 MB / 1.091 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.088, allocations: 4 kB / 1.091 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/1.089, allocations: 152.2 kB / 1.091 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/1.089, allocations: 36.83 kB / 1.091 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/1.089, allocations: 27.92 kB / 1.091 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/1.09, allocations: 1.598 MB / 1.093 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.09, allocations: 7.938 kB / 1.093 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/1.092, allocations: 1.231 MB / 1.094 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/1.093, allocations: 263.9 kB / 1.095 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.093, allocations: 19.98 kB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009737/1.094, allocations: 37.94 kB / 1.095 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.094, allocations: 55.81 kB / 1.095 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.094, allocations: 27.98 kB / 1.095 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001011/1.095, allocations: 0.6284 MB / 1.095 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.095, allocations: 0 / 1.095 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001274/1.097, allocations: 316 kB / 1.096 GB, free: 9.148 MB / 0.8419 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 (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.0005362/1.097, allocations: 197.4 kB / 1.096 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001643/1.099, allocations: 1.01 MB / 1.097 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.099, allocations: 0 / 1.097 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006524/1.099, allocations: 444.2 kB / 1.097 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.102, allocations: 0.6594 MB / 1.098 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/1.106, allocations: 2.135 MB / 1.1 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/1.107, allocations: 1.186 MB / 1.101 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000887/1.108, allocations: 252.4 kB / 1.101 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/1.108, allocations: 79.42 kB / 1.101 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of SimCode: time 8.31e-07/1.108, allocations: 0 / 1.101 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.03902/1.147, allocations: 23.2 MB / 1.124 GB, free: 12.27 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)