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.192/0.1927, allocations: 82.22 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6852/0.878, allocations: 185.5 MB / 0.7753 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.8892, allocations: 4.892 MB / 0.7801 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.8919, allocations: 30.97 kB / 0.7801 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.8946, allocations: 0.5554 MB / 0.7806 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006927/0.9016, allocations: 1.7 MB / 0.7823 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.9055, allocations: 1.163 MB / 0.7834 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006736/0.9122, allocations: 4.532 MB / 0.7879 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.9142, allocations: 0.9709 MB / 0.7888 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.917, allocations: 0.9772 MB / 0.7898 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.9195, allocations: 0.9992 MB / 0.7907 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.9197, allocations: 49.66 kB / 0.7908 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.9229, allocations: 1.222 MB / 0.792 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007382/0.9236, allocations: 0.5465 MB / 0.7925 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.9247, allocations: 0.6947 MB / 0.7932 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003785/0.9285, allocations: 2.351 MB / 0.7955 GB, free: 1.012 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9285, allocations: 0 / 0.7955 GB, free: 1.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9285, allocations: 0 / 0.7955 GB, free: 1.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.9286, allocations: 0 / 0.7955 GB, free: 1.012 MB / 0.545 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.002639/0.9312, allocations: 1.386 MB / 0.7968 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.9312, allocations: 14.53 kB / 0.7969 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.933, allocations: 308.2 kB / 0.7972 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.9344, allocations: 0.8544 MB / 0.798 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.9345, allocations: 85.22 kB / 0.7981 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.9347, allocations: 107.4 kB / 0.7982 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.9367, allocations: 1.167 MB / 0.7993 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.9367, allocations: 0 / 0.7993 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.9369, allocations: 47.34 kB / 0.7994 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.9369, allocations: 51.92 kB / 0.7994 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.9387, allocations: 1.045 MB / 0.8004 GB, free: 13.88 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.006554/0.9452, allocations: 4.41 MB / 0.8047 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.9462, allocations: 0.5945 MB / 0.8053 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.9467, allocations: 328.7 kB / 0.8056 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.9467, allocations: 6.781 kB / 0.8056 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.9468, allocations: 50.98 kB / 0.8057 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=50): time 3.155e-06/0.9468, allocations: 0 / 0.8057 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52): time 0.004138/0.9509, allocations: 2.158 MB / 0.8078 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.951, allocations: 59.84 kB / 0.8078 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.9522, allocations: 0.9697 MB / 0.8088 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.9523, allocations: 37.7 kB / 0.8088 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.9527, allocations: 0.5333 MB / 0.8093 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.9529, allocations: 182.6 kB / 0.8095 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.953, allocations: 61.69 kB / 0.8096 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9531, allocations: 330 kB / 0.8099 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.9536, allocations: 289.8 kB / 0.8102 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.9543, allocations: 452.3 kB / 0.8106 GB, free: 3.723 MB / 0.5606 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.003583/0.9579, allocations: 1.709 MB / 0.8123 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9579, allocations: 4 kB / 0.8123 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001644/0.9595, allocations: 0.9412 MB / 0.8132 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.9596, allocations: 4.562 kB / 0.8132 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9596, allocations: 8 kB / 0.8132 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.9598, allocations: 94.52 kB / 0.8133 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/0.9606, allocations: 175.8 kB / 0.8135 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.9642, allocations: 4.293 MB / 0.8177 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.9654, allocations: 67.91 kB / 0.8177 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.9655, allocations: 24 kB / 0.8177 GB, free: 11.91 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 sytem: 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.0008723/0.9664, allocations: 357.5 kB / 0.8181 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.9666, allocations: 126.6 kB / 0.8182 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.9668, allocations: 109.8 kB / 0.8183 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.9668, allocations: 8 kB / 0.8183 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9668, allocations: 0 / 0.8183 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.9679, allocations: 0.7429 MB / 0.819 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.971, allocations: 1.904 MB / 0.8209 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.9711, allocations: 8.031 kB / 0.8209 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.9717, allocations: 151.8 kB / 0.8211 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.9718, allocations: 44.77 kB / 0.8211 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.9719, allocations: 16 kB / 0.8211 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.9731, allocations: 1.476 MB / 0.8226 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9731, allocations: 7.969 kB / 0.8226 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.9748, allocations: 1.188 MB / 0.8237 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/0.9752, allocations: 284 kB / 0.824 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.9754, allocations: 12 kB / 0.824 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008537/0.9762, allocations: 75.86 kB / 0.8241 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.9763, allocations: 43.88 kB / 0.8241 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/0.9764, allocations: 35.97 kB / 0.8242 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008876/0.9773, allocations: 0.6765 MB / 0.8248 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.9773, allocations: 0 / 0.8248 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001098/0.9784, allocations: 304 kB / 0.8251 GB, free: 4.012 MB / 0.5762 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.0004913/0.9789, allocations: 180.9 kB / 0.8253 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.9805, allocations: 0.999 MB / 0.8263 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.9805, allocations: 8 kB / 0.8263 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.9811, allocations: 426.3 kB / 0.8267 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.9844, allocations: 0.6538 MB / 0.8273 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.9881, allocations: 2.671 MB / 0.8299 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/0.9889, allocations: 1.19 MB / 0.8311 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001118/0.9901, allocations: 264.8 kB / 0.8313 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.9903, allocations: 71.44 kB / 0.8314 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.9903, allocations: 3.938 kB / 0.8314 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.04086/1.031, allocations: 22.8 MB / 0.8537 GB, free: 6.973 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: