Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001386/0.001386, allocations: 105.3 kB / 16.36 MB, free: 6.352 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.001299/0.001299, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.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.002495/0.002495, allocations: 70.66 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2637, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6366/0.9003, allocations: 190.4 MB / 0.9708 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.911, allocations: 5.642 MB / 0.9763 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.9131, allocations: 39.75 kB / 0.9763 GB, free: 5.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.9152, allocations: 0.5591 MB / 0.9769 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.9207, allocations: 1.824 MB / 0.9786 GB, free: 3.395 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.9245, allocations: 1.17 MB / 0.9798 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004956/0.9295, allocations: 2.923 MB / 0.9826 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.9316, allocations: 1.129 MB / 0.9837 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.9343, allocations: 1.051 MB / 0.9848 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.9368, allocations: 0.9604 MB / 0.9857 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.9373, allocations: 124 kB / 0.9858 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.9411, allocations: 1.444 MB / 0.9872 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009659/0.9421, allocations: 0.5689 MB / 0.9878 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.9439, allocations: 0.7195 MB / 0.9885 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004665/0.9486, allocations: 2.333 MB / 0.9908 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9487, allocations: 0 / 0.9908 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9487, allocations: 0 / 0.9908 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.966e-05/0.9488, allocations: 0 / 0.9908 GB, free: 6.953 MB / 0.7794 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.003817/0.9526, allocations: 1.615 MB / 0.9923 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9527, allocations: 8.031 kB / 0.9923 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.955, allocations: 330.1 kB / 0.9927 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.957, allocations: 0.8981 MB / 0.9935 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.9571, allocations: 77.98 kB / 0.9936 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.9573, allocations: 92 kB / 0.9937 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.9595, allocations: 1.082 MB / 0.9948 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.9595, allocations: 3.938 kB / 0.9948 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.9597, allocations: 44 kB / 0.9948 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/0.9597, allocations: 37.98 kB / 0.9948 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.9616, allocations: 0.9915 MB / 0.9958 GB, free: 1.684 MB / 0.7794 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.007538/0.9692, allocations: 4.212 MB / 0.9999 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.9701, allocations: 0.5956 MB / 1.001 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.9707, allocations: 342.5 kB / 1.001 GB, free: 12.24 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.9709, allocations: 105.5 kB / 1.001 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.9709, allocations: 43 kB / 1.001 GB, free: 12.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 3.116e-06/0.9709, allocations: 4 kB / 1.001 GB, free: 12.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=55): time 0.004911/0.9759, allocations: 2.197 MB / 1.003 GB, free: 9.746 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.9759, allocations: 67.91 kB / 1.003 GB, free: 9.668 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.9774, allocations: 0.8725 MB / 1.004 GB, free: 8.789 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.9775, allocations: 37.7 kB / 1.004 GB, free: 8.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/0.9781, allocations: 0.5107 MB / 1.005 GB, free: 8.227 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.9783, allocations: 201.1 kB / 1.005 GB, free: 8.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.9786, allocations: 130.5 kB / 1.005 GB, free: 7.895 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9787, allocations: 334 kB / 1.005 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/0.9793, allocations: 289.8 kB / 1.005 GB, free: 7.281 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.98, allocations: 451.1 kB / 1.006 GB, free: 6.781 MB / 0.795 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.004123/0.9841, allocations: 1.733 MB / 1.008 GB, free: 4.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.9841, allocations: 4 kB / 1.008 GB, free: 4.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00172/0.9859, allocations: 0.9181 MB / 1.009 GB, free: 4.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9859, allocations: 4.562 kB / 1.009 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.9859, allocations: 9.188 kB / 1.009 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.9862, allocations: 94.83 kB / 1.009 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.987, allocations: 167.8 kB / 1.009 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.9911, allocations: 4.633 MB / 1.013 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.9921, allocations: 32.45 kB / 1.013 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/0.9922, allocations: 24 kB / 1.013 GB, free: 14.66 MB / 0.8106 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.0007684/0.993, allocations: 345.5 kB / 1.014 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.9933, allocations: 102.8 kB / 1.014 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.9936, allocations: 113.1 kB / 1.014 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.9936, allocations: 8.562 kB / 1.014 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9936, allocations: 3.5 kB / 1.014 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/0.9948, allocations: 0.7575 MB / 1.015 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.9985, allocations: 1.989 MB / 1.017 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.9985, allocations: 4 kB / 1.017 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.9992, allocations: 143.8 kB / 1.017 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.9994, allocations: 45.33 kB / 1.017 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.9994, allocations: 16.38 kB / 1.017 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/1.001, allocations: 1.617 MB / 1.018 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.001, allocations: 4.062 kB / 1.018 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/1.003, allocations: 1.227 MB / 1.02 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/1.004, allocations: 259.9 kB / 1.02 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/1.004, allocations: 12.56 kB / 1.02 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/1.005, allocations: 41.28 kB / 1.02 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.005, allocations: 43.83 kB / 1.02 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/1.005, allocations: 31.98 kB / 1.02 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009815/1.006, allocations: 0.6083 MB / 1.021 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.254e-06/1.006, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001201/1.007, allocations: 308.5 kB / 1.021 GB, free: 6.633 MB / 0.8106 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.000543/1.008, allocations: 199.4 kB / 1.021 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.009, allocations: 1.002 MB / 1.022 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.009, allocations: 8 kB / 1.022 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006742/1.01, allocations: 446.2 kB / 1.022 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.013, allocations: 0.6467 MB / 1.023 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/1.017, allocations: 2.16 MB / 1.025 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.019, allocations: 1.163 MB / 1.026 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.019, allocations: 83.42 kB / 1.026 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of SimCode: time 1.472e-06/1.019, allocations: 3.938 kB / 1.026 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of Templates: time 0.04005/1.059, allocations: 26.8 MB / 1.053 GB, free: 6.289 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)