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.1674/0.168, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6094/0.7775, allocations: 158.1 MB / 0.7477 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.009473/0.787, allocations: 4.94 MB / 0.7525 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.7888, allocations: 32.25 kB / 0.7526 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.002071/0.7909, allocations: 0.572 MB / 0.7531 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.006474/0.7974, allocations: 1.498 MB / 0.7546 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.8019, allocations: 1.1 MB / 0.7557 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.004394/0.8063, allocations: 1.874 MB / 0.7575 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.8084, allocations: 0.8605 MB / 0.7583 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.8109, allocations: 0.8842 MB / 0.7592 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.8128, allocations: 0.6297 MB / 0.7598 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.8132, allocations: 49.03 kB / 0.7599 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.8156, allocations: 453 kB / 0.7603 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.001455/0.8171, allocations: 0.5014 MB / 0.7608 GB, free: 11.42 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.001551/0.8187, allocations: 298.6 kB / 0.7611 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.004826/0.8235, allocations: 1.611 MB / 0.7626 GB, free: 10.5 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8235, allocations: 0 / 0.7626 GB, free: 10.5 MB / 0.545 GB
Notification: Performance of FrontEnd: time 3.717e-06/0.8235, allocations: 0 / 0.7626 GB, free: 10.5 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 7.525e-05/0.8236, allocations: 0 / 0.7626 GB, free: 10.5 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.003358/0.827, allocations: 1.376 MB / 0.764 GB, free: 9.562 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.827, allocations: 14.7 kB / 0.764 GB, free: 9.559 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.8289, allocations: 303 kB / 0.7643 GB, free: 9.438 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.8307, allocations: 0.8349 MB / 0.7651 GB, free: 8.977 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.8308, allocations: 76.47 kB / 0.7652 GB, free: 8.973 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.831, allocations: 112.2 kB / 0.7653 GB, free: 8.969 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.8331, allocations: 1.146 MB / 0.7664 GB, free: 8.664 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.8332, allocations: 0 / 0.7664 GB, free: 8.664 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.8333, allocations: 51.61 kB / 0.7665 GB, free: 8.66 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/0.8334, allocations: 41.47 kB / 0.7665 GB, free: 8.656 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.8352, allocations: 1.043 MB / 0.7675 GB, free: 8.457 MB / 0.545 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.007309/0.8425, allocations: 4.403 MB / 0.7718 GB, free: 5.832 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.8434, allocations: 0.5808 MB / 0.7724 GB, free: 5.73 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.8434, allocations: 14 kB / 0.7724 GB, free: 5.73 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.8435, allocations: 46.08 kB / 0.7724 GB, free: 5.688 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=50): time 2.454e-06/0.8435, allocations: 1.859 kB / 0.7724 GB, free: 5.688 MB / 0.545 GB
Notification: Performance of matching and sorting (n=52): time 0.004047/0.8476, allocations: 2.146 MB / 0.7745 GB, free: 4.691 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.8476, allocations: 57.31 kB / 0.7746 GB, free: 4.629 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.8489, allocations: 0.9629 MB / 0.7755 GB, free: 4.32 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.849, allocations: 44.45 kB / 0.7756 GB, free: 4.285 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.8494, allocations: 0.5381 MB / 0.7761 GB, free: 3.988 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.8495, allocations: 184.2 kB / 0.7763 GB, free: 3.855 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.8496, allocations: 10.81 kB / 0.7763 GB, free: 3.855 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001434/0.8497, allocations: 334.1 kB / 0.7766 GB, free: 3.543 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.8502, allocations: 278.4 kB / 0.7769 GB, free: 3.5 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.8508, allocations: 454.4 kB / 0.7773 GB, free: 3.258 MB / 0.545 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.002625/0.8534, allocations: 1.042 MB / 0.7783 GB, free: 2.957 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.8534, allocations: 7.109 kB / 0.7783 GB, free: 2.953 MB / 0.545 GB
Notification: Performance of matching and sorting (n=85) (initialization): time 0.001525/0.855, allocations: 0.9293 MB / 0.7792 GB, free: 2.711 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.855, allocations: 5.812 kB / 0.7792 GB, free: 2.711 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.855, allocations: 13.45 kB / 0.7793 GB, free: 2.703 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.8552, allocations: 94.02 kB / 0.7793 GB, free: 2.664 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.8559, allocations: 175.6 kB / 0.7795 GB, free: 2.633 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.8598, allocations: 4.342 MB / 0.7838 GB, free: 14.63 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.861, allocations: 70.02 kB / 0.7838 GB, free: 14.61 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.861, allocations: 30.06 kB / 0.7838 GB, free: 14.61 MB / 0.5606 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.0007725/0.8618, allocations: 359.5 kB / 0.7842 GB, free: 14.44 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.8621, allocations: 115.5 kB / 0.7843 GB, free: 14.38 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.8624, allocations: 110.1 kB / 0.7844 GB, free: 14.36 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8624, allocations: 4.719 kB / 0.7844 GB, free: 14.36 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.8624, allocations: 0 / 0.7844 GB, free: 14.36 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.8635, allocations: 0.7399 MB / 0.7851 GB, free: 14.01 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.8672, allocations: 1.905 MB / 0.787 GB, free: 13.21 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8672, allocations: 2.688 kB / 0.787 GB, free: 13.21 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/0.8678, allocations: 154.2 kB / 0.7871 GB, free: 13.18 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.955e-05/0.8679, allocations: 40.97 kB / 0.7872 GB, free: 13.16 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.868, allocations: 16.53 kB / 0.7872 GB, free: 13.16 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.8693, allocations: 1.507 MB / 0.7887 GB, free: 11.82 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8693, allocations: 1.75 kB / 0.7887 GB, free: 11.82 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.8711, allocations: 1.295 MB / 0.7899 GB, free: 11.23 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007616/0.8718, allocations: 279.1 kB / 0.7902 GB, free: 11.05 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.8721, allocations: 14.72 kB / 0.7902 GB, free: 11.05 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8731, allocations: 85.91 kB / 0.7903 GB, free: 11.01 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.8732, allocations: 40.84 kB / 0.7903 GB, free: 10.99 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.8734, allocations: 40.91 kB / 0.7904 GB, free: 10.98 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.001076/0.8744, allocations: 0.6633 MB / 0.791 GB, free: 10.77 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 6.01e-07/0.8745, allocations: 4 kB / 0.791 GB, free: 10.77 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.00128/0.8757, allocations: 304 kB / 0.7913 GB, free: 10.77 MB / 0.5606 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.0006078/0.8764, allocations: 187.9 kB / 0.7915 GB, free: 10.64 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.001703/0.8781, allocations: 0.9922 MB / 0.7925 GB, free: 10.18 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.8781, allocations: 256 / 0.7925 GB, free: 10.18 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.8787, allocations: 431.7 kB / 0.7929 GB, free: 9.996 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.8819, allocations: 0.6418 MB / 0.7935 GB, free: 9.793 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.8866, allocations: 2.548 MB / 0.796 GB, free: 7.965 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.8877, allocations: 1.213 MB / 0.7972 GB, free: 6.77 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.001354/0.8891, allocations: 264.8 kB / 0.7974 GB, free: 6.508 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.8893, allocations: 77.5 kB / 0.7975 GB, free: 6.438 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.944e-06/0.8893, allocations: 0 / 0.7975 GB, free: 6.438 MB / 0.5606 GB
Notification: Performance of Templates: time 0.04284/0.9322, allocations: 22.07 MB / 0.8191 GB, free: 0.7148 MB / 0.5762 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: