Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [/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.1702/0.1723, allocations: 80.84 MB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6955/0.8678, allocations: 190.2 MB / 0.8564 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.878, allocations: 4.898 MB / 0.8612 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.8801, allocations: 44.91 kB / 0.8613 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.8818, allocations: 0.5697 MB / 0.8618 GB, free: 4 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.886, allocations: 1.606 MB / 0.8634 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.8892, allocations: 1.177 MB / 0.8645 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003801/0.893, allocations: 2.756 MB / 0.8672 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.8945, allocations: 1.076 MB / 0.8683 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.8965, allocations: 1.095 MB / 0.8693 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.8982, allocations: 0.9149 MB / 0.8702 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.8984, allocations: 116 kB / 0.8703 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.9008, allocations: 1.123 MB / 0.8714 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005161/0.9013, allocations: 0.5338 MB / 0.872 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007063/0.902, allocations: 0.6689 MB / 0.8726 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.905, allocations: 2.15 MB / 0.8747 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.905, allocations: 4 kB / 0.8747 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.805e-06/0.905, allocations: 8 kB / 0.8747 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.905, allocations: 0 / 0.8747 GB, free: 9.023 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.00264/0.9077, allocations: 1.519 MB / 0.8762 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.9077, allocations: 12.03 kB / 0.8762 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.9104, allocations: 434.1 kB / 0.8766 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.912, allocations: 0.8127 MB / 0.8774 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.9121, allocations: 70 kB / 0.8775 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.9122, allocations: 95.89 kB / 0.8776 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.9145, allocations: 1.237 MB / 0.8788 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.9146, allocations: 4 kB / 0.8788 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.9147, allocations: 36 kB / 0.8788 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.9147, allocations: 37.98 kB / 0.8789 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.9171, allocations: 1.112 MB / 0.88 GB, free: 3.543 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.00709/0.9242, allocations: 4.451 MB / 0.8843 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.9262, allocations: 0.7608 MB / 0.885 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/0.9271, allocations: 385.2 kB / 0.8854 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.9271, allocations: 4.328 kB / 0.8854 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.9272, allocations: 43.56 kB / 0.8855 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.424e-06/0.9272, allocations: 4 kB / 0.8855 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.005489/0.9327, allocations: 2.1 MB / 0.8875 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.9328, allocations: 67.12 kB / 0.8876 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.934, allocations: 0.9242 MB / 0.8885 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.934, allocations: 41.7 kB / 0.8885 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.9344, allocations: 0.4951 MB / 0.889 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.9346, allocations: 153.8 kB / 0.8892 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.9348, allocations: 126.2 kB / 0.8893 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.935, allocations: 330 kB / 0.8896 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009614/0.9359, allocations: 373 kB / 0.8899 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.9371, allocations: 0.5098 MB / 0.8904 GB, free: 8.332 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.006039/0.9431, allocations: 2.244 MB / 0.8926 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.9431, allocations: 3.938 kB / 0.8926 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002523/0.9457, allocations: 0.9977 MB / 0.8936 GB, free: 5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.9457, allocations: 8 kB / 0.8936 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.9457, allocations: 8.953 kB / 0.8936 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.9458, allocations: 8 kB / 0.8936 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/0.9467, allocations: 191.8 kB / 0.8938 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.9468, allocations: 11.94 kB / 0.8938 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.9479, allocations: 67.92 kB / 0.8939 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.9479, allocations: 24 kB / 0.8939 GB, free: 4.688 MB / 0.6544 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 (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000775/0.9487, allocations: 318.2 kB / 0.8942 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.9489, allocations: 98.81 kB / 0.8943 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.9492, allocations: 113.1 kB / 0.8944 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.9492, allocations: 4 kB / 0.8944 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.9492, allocations: 0 / 0.8944 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002047/0.9512, allocations: 1.003 MB / 0.8954 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.9563, allocations: 2.049 MB / 0.8974 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.9563, allocations: 0 / 0.8974 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/0.9572, allocations: 156.1 kB / 0.8976 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.9572, allocations: 8 kB / 0.8976 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.9573, allocations: 23.92 kB / 0.8976 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.9573, allocations: 7.938 kB / 0.8976 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9573, allocations: 4 kB / 0.8976 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.9606, allocations: 1.38 MB / 0.8989 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.9612, allocations: 271.9 kB / 0.8992 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.9613, allocations: 11.94 kB / 0.8992 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/0.9622, allocations: 76 kB / 0.8993 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.9623, allocations: 31.95 kB / 0.8993 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.9624, allocations: 31.97 kB / 0.8993 GB, free: 14.87 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009761/0.9634, allocations: 0.644 MB / 0.9 GB, free: 14.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.114e-06/0.9634, allocations: 3.938 kB / 0.9 GB, free: 14.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001046/0.9645, allocations: 267.9 kB / 0.9002 GB, free: 13.95 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005941/0.9651, allocations: 190.3 kB / 0.9004 GB, free: 13.76 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.9673, allocations: 0.7957 MB / 0.9012 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9673, allocations: 0.875 kB / 0.9012 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009168/0.9682, allocations: 376.1 kB / 0.9016 GB, free: 12.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.9709, allocations: 0.5917 MB / 0.9021 GB, free: 12.02 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.9759, allocations: 2.168 MB / 0.9042 GB, free: 9.785 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.9766, allocations: 1.118 MB / 0.9053 GB, free: 8.637 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009925/0.9776, allocations: 259.9 kB / 0.9056 GB, free: 8.379 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.9779, allocations: 75.42 kB / 0.9057 GB, free: 8.305 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.9779, allocations: 4 kB / 0.9057 GB, free: 8.301 MB / 0.67 GB Notification: Performance of Templates: time 0.03695/1.015, allocations: 22.15 MB / 0.9273 GB, free: 2.406 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)