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.001568/0.001568, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002372/0.002372, allocations: 189 kB / 16.62 MB, free: 6.613 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.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.824/1.824, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001509/0.001509, allocations: 68.38 kB / 0.6722 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2785, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6759/0.9545, allocations: 190.4 MB / 0.9701 GB, free: 276 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.9655, allocations: 5.667 MB / 0.9756 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.9676, allocations: 39.78 kB / 0.9757 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.9694, allocations: 0.5642 MB / 0.9762 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.9746, allocations: 1.806 MB / 0.978 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.9777, allocations: 1.18 MB / 0.9791 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005031/0.9828, allocations: 2.923 MB / 0.982 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.9845, allocations: 1.129 MB / 0.9831 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.9867, allocations: 1.055 MB / 0.9841 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.989, allocations: 0.9655 MB / 0.9851 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.9893, allocations: 122.8 kB / 0.9852 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.9938, allocations: 1.444 MB / 0.9866 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00076/0.9946, allocations: 0.5662 MB / 0.9871 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.996, allocations: 0.7089 MB / 0.9878 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/1.001, allocations: 2.333 MB / 0.9901 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.001, allocations: 3.938 kB / 0.9901 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.846e-06/1.001, allocations: 0 / 0.9901 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.469e-05/1.001, allocations: 0 / 0.9901 GB, free: 9.047 MB / 0.7325 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.002846/1.004, allocations: 1.613 MB / 0.9917 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.004, allocations: 10.53 kB / 0.9917 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/1.006, allocations: 326 kB / 0.992 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/1.008, allocations: 0.8964 MB / 0.9929 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/1.008, allocations: 76.53 kB / 0.993 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/1.008, allocations: 107.7 kB / 0.9931 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/1.01, allocations: 1.078 MB / 0.9941 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.01, allocations: 0 / 0.9941 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.01, allocations: 42.22 kB / 0.9941 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/1.01, allocations: 45.23 kB / 0.9942 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/1.012, allocations: 0.9926 MB / 0.9952 GB, free: 5.859 MB / 0.7325 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.006233/1.018, allocations: 4.209 MB / 0.9993 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009167/1.019, allocations: 0.5922 MB / 0.9998 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/1.019, allocations: 335.4 kB / 1 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/1.019, allocations: 110.3 kB / 1 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.02, allocations: 40.25 kB / 1 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 4.128e-06/1.02, allocations: 4 kB / 1 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004461/1.024, allocations: 2.196 MB / 1.002 GB, free: 432 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/1.024, allocations: 61.88 kB / 1.003 GB, free: 364 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/1.025, allocations: 0.8676 MB / 1.003 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/1.025, allocations: 42.62 kB / 1.003 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/1.026, allocations: 0.5106 MB / 1.004 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.026, allocations: 198.8 kB / 1.004 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/1.026, allocations: 132.7 kB / 1.004 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.026, allocations: 333.8 kB / 1.005 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/1.027, allocations: 281.3 kB / 1.005 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/1.028, allocations: 445.9 kB / 1.005 GB, free: 14.36 MB / 0.7481 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.003905/1.031, allocations: 1.742 MB / 1.007 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.031, allocations: 0 / 1.007 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001683/1.033, allocations: 0.9312 MB / 1.008 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.033, allocations: 7.688 kB / 1.008 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.033, allocations: 8.828 kB / 1.008 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/1.033, allocations: 95.81 kB / 1.008 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/1.034, allocations: 166.6 kB / 1.008 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/1.038, allocations: 4.634 MB / 1.013 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.039, allocations: 34.81 kB / 1.013 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/1.039, allocations: 28.16 kB / 1.013 GB, free: 8.148 MB / 0.7481 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.0005531/1.04, allocations: 354.1 kB / 1.013 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/1.04, allocations: 105.2 kB / 1.013 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/1.04, allocations: 109.4 kB / 1.013 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.04, allocations: 4.719 kB / 1.013 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.04, allocations: 0 / 1.013 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/1.041, allocations: 0.7666 MB / 1.014 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/1.044, allocations: 1.986 MB / 1.016 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.044, allocations: 2.344 kB / 1.016 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/1.045, allocations: 147 kB / 1.016 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.994e-05/1.045, allocations: 43.58 kB / 1.016 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/1.045, allocations: 14.84 kB / 1.016 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/1.046, allocations: 1.615 MB / 1.018 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.046, allocations: 5.281 kB / 1.018 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/1.048, allocations: 1.223 MB / 1.019 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/1.049, allocations: 255 kB / 1.019 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.049, allocations: 15.33 kB / 1.019 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/1.05, allocations: 39.11 kB / 1.019 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.05, allocations: 47.88 kB / 1.019 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/1.05, allocations: 31.89 kB / 1.019 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008235/1.051, allocations: 0.6078 MB / 1.02 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.051, allocations: 0 / 1.02 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009395/1.052, allocations: 305.3 kB / 1.02 GB, free: 2.824 MB / 0.7481 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.0004432/1.052, allocations: 200.1 kB / 1.02 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001533/1.054, allocations: 1.018 MB / 1.021 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.054, allocations: 5.938 kB / 1.021 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/1.054, allocations: 448.5 kB / 1.022 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/1.057, allocations: 0.6428 MB / 1.022 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/1.061, allocations: 2.076 MB / 1.024 GB, free: 92 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008345/1.061, allocations: 1.177 MB / 1.026 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009421/1.062, allocations: 247.2 kB / 1.026 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/1.063, allocations: 76.55 kB / 1.026 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of SimCode: time 6.51e-07/1.063, allocations: 0 / 1.026 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of Templates: time 0.04002/1.103, allocations: 22.3 MB / 1.048 GB, free: 9.82 MB / 0.7794 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)