Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1735/0.1757, allocations: 80.83 MB / 0.5899 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4999/0.6756, allocations: 187.8 MB / 0.7732 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009448/0.6851, allocations: 4.862 MB / 0.778 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.6874, allocations: 35.91 kB / 0.778 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.6895, allocations: 0.553 MB / 0.7786 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.6947, allocations: 1.708 MB / 0.7802 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.6979, allocations: 1.169 MB / 0.7814 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004489/0.7024, allocations: 3.289 MB / 0.7846 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.7041, allocations: 1.148 MB / 0.7857 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.7067, allocations: 1.212 MB / 0.7869 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.7093, allocations: 1.068 MB / 0.7879 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.7097, allocations: 133.4 kB / 0.7881 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.7127, allocations: 1.176 MB / 0.7892 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.7134, allocations: 0.6286 MB / 0.7898 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.7146, allocations: 0.7815 MB / 0.7906 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.7187, allocations: 2.454 MB / 0.793 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7187, allocations: 0 / 0.793 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/0.7187, allocations: 0 / 0.793 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.571e-05/0.7188, allocations: 0 / 0.793 GB, free: 12.17 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004344/0.7231, allocations: 1.676 MB / 0.7946 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/0.7232, allocations: 10.84 kB / 0.7946 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.7253, allocations: 299.2 kB / 0.7949 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.7271, allocations: 0.871 MB / 0.7958 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/0.7272, allocations: 89.11 kB / 0.7958 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.7274, allocations: 104 kB / 0.7959 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.7298, allocations: 1.161 MB / 0.7971 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.7298, allocations: 0 / 0.7971 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.73, allocations: 44.31 kB / 0.7971 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-05/0.7301, allocations: 45.33 kB / 0.7972 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.7321, allocations: 1.038 MB / 0.7982 GB, free: 8.434 MB / 0.5606 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.006984/0.7391, allocations: 4.39 MB / 0.8025 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.74, allocations: 0.5789 MB / 0.803 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.7404, allocations: 326.5 kB / 0.8033 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.7405, allocations: 12.42 kB / 0.8034 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.7405, allocations: 43 kB / 0.8034 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=50): time 3.016e-06/0.7405, allocations: 0 / 0.8034 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52): time 0.00417/0.7447, allocations: 2.129 MB / 0.8055 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.7448, allocations: 59.84 kB / 0.8055 GB, free: 448 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.746, allocations: 0.9697 MB / 0.8065 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.7461, allocations: 37.7 kB / 0.8065 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.7464, allocations: 0.5301 MB / 0.807 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.7466, allocations: 185.3 kB / 0.8072 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.7468, allocations: 142.5 kB / 0.8073 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.747, allocations: 330 kB / 0.8077 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.7475, allocations: 285.8 kB / 0.8079 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.748, allocations: 444.3 kB / 0.8084 GB, free: 13.43 MB / 0.5762 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.003441/0.7515, allocations: 1.677 MB / 0.81 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7515, allocations: 4 kB / 0.81 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001551/0.7531, allocations: 0.9297 MB / 0.8109 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.7531, allocations: 11.94 kB / 0.8109 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7531, allocations: 4 kB / 0.8109 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.7533, allocations: 102.8 kB / 0.811 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.754, allocations: 159.8 kB / 0.8112 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.7577, allocations: 4.643 MB / 0.8157 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.7588, allocations: 68.83 kB / 0.8158 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.7589, allocations: 24 kB / 0.8158 GB, free: 5.297 MB / 0.5762 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 (81): * Single equations (assignments): 78 * 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.0007958/0.7597, allocations: 365.5 kB / 0.8161 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.7599, allocations: 106.8 kB / 0.8162 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.7601, allocations: 113.8 kB / 0.8164 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7601, allocations: 7.938 kB / 0.8164 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.7601, allocations: 3.984 kB / 0.8164 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.7612, allocations: 0.7318 MB / 0.8171 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.7641, allocations: 1.89 MB / 0.8189 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7641, allocations: 4 kB / 0.8189 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.7648, allocations: 144.1 kB / 0.8191 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.765, allocations: 36.84 kB / 0.8191 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.765, allocations: 20.8 kB / 0.8191 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.7666, allocations: 1.601 MB / 0.8207 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/0.7666, allocations: 11.92 kB / 0.8207 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.7686, allocations: 1.165 MB / 0.8218 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/0.7692, allocations: 275.8 kB / 0.8221 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.7693, allocations: 20 kB / 0.8221 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/0.7702, allocations: 71.78 kB / 0.8222 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7703, allocations: 43.88 kB / 0.8222 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.7704, allocations: 39.97 kB / 0.8223 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009107/0.7713, allocations: 0.6765 MB / 0.8229 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7713, allocations: 0 / 0.8229 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001032/0.7724, allocations: 304 kB / 0.8232 GB, free: 13.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (50): * Single equations (assignments): 49 * 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.0004688/0.7728, allocations: 189 kB / 0.8234 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.7745, allocations: 1.093 MB / 0.8245 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7745, allocations: 4 kB / 0.8245 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.7751, allocations: 430.3 kB / 0.8249 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/0.778, allocations: 0.6849 MB / 0.8255 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.7816, allocations: 2.576 MB / 0.8281 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.7824, allocations: 1.186 MB / 0.8292 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001128/0.7835, allocations: 264.8 kB / 0.8295 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.7837, allocations: 79.42 kB / 0.8295 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/0.7837, allocations: 0 / 0.8295 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.04101/0.8247, allocations: 23.72 MB / 0.8527 GB, free: 15.34 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)