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.5027/0.5035, allocations: 82.2 MB / 0.5935 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6772/1.181, allocations: 173.1 MB / 0.7625 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008353/1.189, allocations: 4.621 MB / 0.767 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/1.191, allocations: 33.53 kB / 0.7671 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/1.192, allocations: 436.4 kB / 0.7675 GB, free: 4.375 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00496/1.197, allocations: 1.378 MB / 0.7688 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003171/1.201, allocations: 0.9033 MB / 0.7697 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006068/1.207, allocations: 3.834 MB / 0.7734 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/1.209, allocations: 0.8584 MB / 0.7743 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/1.212, allocations: 1.003 MB / 0.7753 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/1.214, allocations: 0.9557 MB / 0.7762 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/1.214, allocations: 48.75 kB / 0.7762 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/1.216, allocations: 0.5549 MB / 0.7768 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006963/1.217, allocations: 0.5395 MB / 0.7773 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/1.218, allocations: 300.5 kB / 0.7776 GB, free: 20.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/1.221, allocations: 1.688 MB / 0.7792 GB, free: 19.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.221, allocations: 0 / 0.7792 GB, free: 19.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.767e-06/1.221, allocations: 3.469 kB / 0.7792 GB, free: 19.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.736e-05/1.221, allocations: 0 / 0.7792 GB, free: 19.99 MB / 0.5919 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.002989/1.224, allocations: 1.407 MB / 0.7806 GB, free: 19.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/1.224, allocations: 8.219 kB / 0.7806 GB, free: 19.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/1.226, allocations: 304 kB / 0.7809 GB, free: 19.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/1.227, allocations: 0.8359 MB / 0.7817 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/1.227, allocations: 78.19 kB / 0.7818 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.227, allocations: 101.2 kB / 0.7819 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.229, allocations: 1.166 MB / 0.783 GB, free: 18.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.229, allocations: 0 / 0.783 GB, free: 18.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.23, allocations: 46.41 kB / 0.7831 GB, free: 18.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/1.23, allocations: 46.75 kB / 0.7831 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/1.231, allocations: 1.041 MB / 0.7842 GB, free: 18.7 MB / 0.5919 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.006925/1.238, allocations: 4.4 MB / 0.7884 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/1.239, allocations: 0.5901 MB / 0.789 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/1.239, allocations: 328.5 kB / 0.7893 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/1.24, allocations: 13.78 kB / 0.7894 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.24, allocations: 51.48 kB / 0.7894 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.335e-06/1.24, allocations: 0 / 0.7894 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.003957/1.244, allocations: 2.143 MB / 0.7915 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/1.244, allocations: 58 kB / 0.7915 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.245, allocations: 0.9623 MB / 0.7925 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/1.245, allocations: 40.8 kB / 0.7925 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/1.245, allocations: 0.5288 MB / 0.793 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.245, allocations: 184.4 kB / 0.7932 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/1.245, allocations: 12.72 kB / 0.7932 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.245, allocations: 337.8 kB / 0.7936 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/1.246, allocations: 283.7 kB / 0.7938 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/1.246, allocations: 452.1 kB / 0.7943 GB, free: 14.87 MB / 0.5919 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.002418/1.249, allocations: 1.048 MB / 0.7953 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.249, allocations: 0 / 0.7953 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001561/1.25, allocations: 0.9317 MB / 0.7962 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.25, allocations: 7.141 kB / 0.7962 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.25, allocations: 6.125 kB / 0.7962 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/1.251, allocations: 99.92 kB / 0.7963 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/1.251, allocations: 177.7 kB / 0.7965 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/1.255, allocations: 4.286 MB / 0.8007 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.256, allocations: 71.94 kB / 0.8007 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/1.256, allocations: 30.22 kB / 0.8007 GB, free: 10.8 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007509/1.257, allocations: 364.3 kB / 0.8011 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.257, allocations: 109 kB / 0.8012 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/1.257, allocations: 107.8 kB / 0.8013 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.257, allocations: 5.938 kB / 0.8013 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.257, allocations: 4 kB / 0.8013 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000983/1.258, allocations: 0.7374 MB / 0.802 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/1.261, allocations: 1.909 MB / 0.8039 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.261, allocations: 2.969 kB / 0.8039 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/1.262, allocations: 161.3 kB / 0.8041 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/1.262, allocations: 41.5 kB / 0.8041 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/1.262, allocations: 15.42 kB / 0.8041 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/1.263, allocations: 1.486 MB / 0.8056 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.263, allocations: 5.812 kB / 0.8056 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/1.265, allocations: 1.165 MB / 0.8067 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/1.265, allocations: 283.1 kB / 0.807 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.265, allocations: 14.31 kB / 0.807 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/1.266, allocations: 80.83 kB / 0.8071 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/1.266, allocations: 39.38 kB / 0.8071 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/1.266, allocations: 38.97 kB / 0.8071 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008157/1.267, allocations: 0.6651 MB / 0.8078 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/1.267, allocations: 0 / 0.8078 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001057/1.268, allocations: 305.2 kB / 0.8081 GB, free: 8.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/1.269, allocations: 194.2 kB / 0.8083 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.27, allocations: 0.9879 MB / 0.8092 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.27, allocations: 1.125 kB / 0.8092 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/1.271, allocations: 432.9 kB / 0.8096 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.274, allocations: 0.6543 MB / 0.8103 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/1.277, allocations: 2.568 MB / 0.8128 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/1.278, allocations: 1.186 MB / 0.8139 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001312/1.28, allocations: 263.9 kB / 0.8142 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/1.28, allocations: 82.59 kB / 0.8143 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of SimCode: time 1.292e-06/1.28, allocations: 0 / 0.8143 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.04028/1.32, allocations: 22.1 MB / 0.8359 GB, free: 6.535 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: