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.206/0.2081, allocations: 80.83 MB / 0.6706 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6706/0.8788, allocations: 190.2 MB / 0.8564 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009969/0.8888, allocations: 4.898 MB / 0.8612 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.8903, allocations: 43.75 kB / 0.8612 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.8921, allocations: 0.6487 MB / 0.8619 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.8975, allocations: 1.871 MB / 0.8637 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.9012, allocations: 1.269 MB / 0.8649 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005364/0.9065, allocations: 3.285 MB / 0.8681 GB, free: 8.176 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.9084, allocations: 1.186 MB / 0.8693 GB, free: 6.973 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.9111, allocations: 1.246 MB / 0.8705 GB, free: 5.723 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.9136, allocations: 1.012 MB / 0.8715 GB, free: 4.715 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.9139, allocations: 136 kB / 0.8716 GB, free: 4.582 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.9171, allocations: 1.138 MB / 0.8728 GB, free: 3.441 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007868/0.9179, allocations: 0.6196 MB / 0.8734 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.919, allocations: 0.7663 MB / 0.8741 GB, free: 2.051 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003825/0.9229, allocations: 2.406 MB / 0.8765 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.9229, allocations: 8 kB / 0.8765 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9229, allocations: 0 / 0.8765 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.9229, allocations: 0 / 0.8765 GB, free: 15.63 MB / 0.6856 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.003055/0.926, allocations: 1.675 MB / 0.8781 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.9261, allocations: 8.031 kB / 0.8781 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.9279, allocations: 314 kB / 0.8784 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.9294, allocations: 0.902 MB / 0.8793 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.9295, allocations: 82.09 kB / 0.8794 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.9296, allocations: 103.9 kB / 0.8795 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.9316, allocations: 1.152 MB / 0.8806 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.9316, allocations: 0 / 0.8806 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.9317, allocations: 55.98 kB / 0.8806 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/0.9318, allocations: 38.09 kB / 0.8807 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.9335, allocations: 1.043 MB / 0.8817 GB, free: 10.12 MB / 0.6856 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.006395/0.9399, allocations: 4.355 MB / 0.8859 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.9408, allocations: 0.5848 MB / 0.8865 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.9413, allocations: 333.4 kB / 0.8868 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.9413, allocations: 12.42 kB / 0.8868 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.9414, allocations: 47 kB / 0.8869 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 2.505e-06/0.9414, allocations: 0 / 0.8869 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of matching and sorting (n=52): time 0.004085/0.9455, allocations: 2.123 MB / 0.889 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.9456, allocations: 55.84 kB / 0.889 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.9467, allocations: 0.9697 MB / 0.89 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.9468, allocations: 41.7 kB / 0.89 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.9472, allocations: 0.5339 MB / 0.8905 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.9474, allocations: 193.4 kB / 0.8907 GB, free: 400 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.9476, allocations: 134.5 kB / 0.8908 GB, free: 260 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9477, allocations: 334 kB / 0.8912 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.9482, allocations: 277.8 kB / 0.8914 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.9488, allocations: 449.1 kB / 0.8919 GB, free: 15.15 MB / 0.7012 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.003543/0.9523, allocations: 1.681 MB / 0.8935 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.9523, allocations: 0 / 0.8935 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001622/0.954, allocations: 0.9294 MB / 0.8944 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.954, allocations: 10.5 kB / 0.8944 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.954, allocations: 4.562 kB / 0.8944 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.9543, allocations: 102.5 kB / 0.8945 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.955, allocations: 163.7 kB / 0.8947 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.9587, allocations: 4.632 MB / 0.8992 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.9596, allocations: 27.98 kB / 0.8992 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.9597, allocations: 24 kB / 0.8992 GB, free: 7.062 MB / 0.7012 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.000787/0.9605, allocations: 361.6 kB / 0.8996 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.9607, allocations: 110.7 kB / 0.8997 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.9609, allocations: 121.7 kB / 0.8998 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9609, allocations: 4 kB / 0.8998 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.9609, allocations: 0 / 0.8998 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/0.962, allocations: 0.7311 MB / 0.9005 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.9649, allocations: 1.902 MB / 0.9024 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9649, allocations: 4 kB / 0.9024 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.9655, allocations: 143.8 kB / 0.9025 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.9657, allocations: 40.78 kB / 0.9026 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/0.9657, allocations: 22.42 kB / 0.9026 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.9671, allocations: 1.607 MB / 0.9042 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9671, allocations: 4 kB / 0.9042 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.9687, allocations: 1.166 MB / 0.9053 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.9692, allocations: 279.8 kB / 0.9056 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.9694, allocations: 12 kB / 0.9056 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.9702, allocations: 43.95 kB / 0.9056 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.9703, allocations: 43.83 kB / 0.9057 GB, free: 128 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.9704, allocations: 35.97 kB / 0.9057 GB, free: 92 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009682/0.9714, allocations: 0.6765 MB / 0.9064 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9714, allocations: 0 / 0.9064 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001064/0.9725, allocations: 296 kB / 0.9066 GB, free: 15.11 MB / 0.7169 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.0005316/0.973, allocations: 188.2 kB / 0.9068 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.9747, allocations: 0.9899 MB / 0.9078 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.9747, allocations: 3.938 kB / 0.9078 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.9754, allocations: 419.9 kB / 0.9082 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.9783, allocations: 0.6906 MB / 0.9089 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.9822, allocations: 2.139 MB / 0.911 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009976/0.9832, allocations: 1.19 MB / 0.9121 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001038/0.9843, allocations: 256.9 kB / 0.9124 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.9846, allocations: 75.44 kB / 0.9124 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of SimCode: time 7.32e-07/0.9846, allocations: 0 / 0.9124 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.04713/1.032, allocations: 24.11 MB / 0.936 GB, free: 1.18 MB / 0.7325 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)