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.1757/0.1779, allocations: 80.83 MB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7028/0.8808, allocations: 190.2 MB / 0.8564 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.8908, allocations: 4.904 MB / 0.8612 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.8928, allocations: 41.12 kB / 0.8612 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.895, allocations: 0.6187 MB / 0.8618 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.9012, allocations: 1.809 MB / 0.8636 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.9049, allocations: 1.253 MB / 0.8648 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004829/0.9098, allocations: 3.292 MB / 0.8681 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.9119, allocations: 1.183 MB / 0.8692 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.9152, allocations: 1.207 MB / 0.8704 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.9183, allocations: 1.007 MB / 0.8714 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004878/0.9188, allocations: 136 kB / 0.8715 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.9222, allocations: 1.138 MB / 0.8726 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.9233, allocations: 0.6235 MB / 0.8732 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.9251, allocations: 0.7778 MB / 0.874 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0047/0.9298, allocations: 2.395 MB / 0.8763 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9298, allocations: 0 / 0.8763 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9298, allocations: 0 / 0.8763 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.157e-05/0.9299, allocations: 4 kB / 0.8763 GB, free: 7.383 MB / 0.6387 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.00303/0.9329, allocations: 1.682 MB / 0.878 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.933, allocations: 8.031 kB / 0.878 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.9346, allocations: 306.1 kB / 0.8783 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.9362, allocations: 0.902 MB / 0.8791 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.9363, allocations: 78.09 kB / 0.8792 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.9365, allocations: 100 kB / 0.8793 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.9384, allocations: 1.156 MB / 0.8804 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.9384, allocations: 11.84 kB / 0.8805 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.9385, allocations: 44 kB / 0.8805 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.9386, allocations: 46.09 kB / 0.8805 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.9402, allocations: 1.035 MB / 0.8816 GB, free: 1.879 MB / 0.6387 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.006512/0.9467, allocations: 4.365 MB / 0.8858 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009406/0.9477, allocations: 0.5871 MB / 0.8864 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.9482, allocations: 325.9 kB / 0.8867 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.9483, allocations: 12.36 kB / 0.8867 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.9483, allocations: 47 kB / 0.8868 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.9483, allocations: 4 kB / 0.8868 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.004098/0.9524, allocations: 2.123 MB / 0.8888 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.9525, allocations: 55.84 kB / 0.8889 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.9537, allocations: 0.9697 MB / 0.8898 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.9538, allocations: 37.7 kB / 0.8899 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/0.9543, allocations: 0.5378 MB / 0.8904 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.9545, allocations: 181.4 kB / 0.8906 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.9547, allocations: 142.5 kB / 0.8907 GB, free: 8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.9549, allocations: 334 kB / 0.891 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.9554, allocations: 277.8 kB / 0.8913 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.956, allocations: 448.3 kB / 0.8917 GB, free: 6.895 MB / 0.6544 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.003594/0.9596, allocations: 1.673 MB / 0.8933 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9597, allocations: 0 / 0.8933 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001535/0.9612, allocations: 0.9334 MB / 0.8943 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.9612, allocations: 8 kB / 0.8943 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9612, allocations: 4 kB / 0.8943 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.9615, allocations: 95.05 kB / 0.8944 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.9622, allocations: 179.6 kB / 0.8945 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.9664, allocations: 4.635 MB / 0.8991 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/0.9673, allocations: 23.98 kB / 0.8991 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.9674, allocations: 28 kB / 0.8991 GB, free: 14.8 MB / 0.67 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.000634/0.968, allocations: 353.6 kB / 0.8994 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.9682, allocations: 110.9 kB / 0.8996 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.9684, allocations: 113.8 kB / 0.8997 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9684, allocations: 8 kB / 0.8997 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9684, allocations: 3.984 kB / 0.8997 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.9695, allocations: 0.7272 MB / 0.9004 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.9729, allocations: 1.898 MB / 0.9022 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.9729, allocations: 5.125 kB / 0.9022 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.9737, allocations: 143.8 kB / 0.9024 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.9738, allocations: 36.84 kB / 0.9024 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.9739, allocations: 15.98 kB / 0.9024 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.9753, allocations: 1.611 MB / 0.904 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9753, allocations: 0 / 0.904 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.9773, allocations: 1.178 MB / 0.9052 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/0.978, allocations: 279.8 kB / 0.9054 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.9781, allocations: 12 kB / 0.9054 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/0.9789, allocations: 35.97 kB / 0.9055 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.979, allocations: 51.81 kB / 0.9055 GB, free: 7.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.522e-05/0.9791, allocations: 35.97 kB / 0.9055 GB, free: 7.832 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009508/0.98, allocations: 0.6726 MB / 0.9062 GB, free: 7.148 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9801, allocations: 0 / 0.9062 GB, free: 7.148 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001075/0.9811, allocations: 304 kB / 0.9065 GB, free: 6.852 MB / 0.67 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.0005801/0.9817, allocations: 178.2 kB / 0.9067 GB, free: 6.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.9834, allocations: 1.002 MB / 0.9076 GB, free: 5.641 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9834, allocations: 4 kB / 0.9076 GB, free: 5.637 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.9841, allocations: 419.7 kB / 0.908 GB, free: 5.215 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.987, allocations: 0.6799 MB / 0.9087 GB, free: 4.547 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.9905, allocations: 2.151 MB / 0.9108 GB, free: 2.332 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009144/0.9914, allocations: 1.186 MB / 0.912 GB, free: 1.117 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009225/0.9924, allocations: 256.9 kB / 0.9122 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.9926, allocations: 79.44 kB / 0.9123 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.9926, allocations: 0 / 0.9123 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of Templates: time 0.04236/1.035, allocations: 24.47 MB / 0.9362 GB, free: 8.562 MB / 0.7012 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)