Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [/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.2295/0.2317, allocations: 80.83 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.8092/1.041, allocations: 190.3 MB / 0.8565 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01031/1.051, allocations: 4.913 MB / 0.8613 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/1.053, allocations: 40.56 kB / 0.8613 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/1.056, allocations: 0.6328 MB / 0.8619 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006339/1.062, allocations: 1.804 MB / 0.8637 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/1.067, allocations: 1.276 MB / 0.8649 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005599/1.072, allocations: 3.25 MB / 0.8681 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/1.074, allocations: 1.023 MB / 0.8691 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/1.077, allocations: 1.199 MB / 0.8703 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/1.08, allocations: 0.96 MB / 0.8712 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/1.08, allocations: 119.9 kB / 0.8713 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/1.083, allocations: 1.123 MB / 0.8724 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006498/1.084, allocations: 0.5026 MB / 0.8729 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/1.085, allocations: 0.6963 MB / 0.8736 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/1.089, allocations: 2.2 MB / 0.8757 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.089, allocations: 0 / 0.8757 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/1.089, allocations: 0 / 0.8757 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.349e-05/1.089, allocations: 0 / 0.8757 GB, free: 8.027 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002796/1.092, allocations: 1.55 MB / 0.8773 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.092, allocations: 11.97 kB / 0.8773 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/1.094, allocations: 290.3 kB / 0.8775 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.095, allocations: 0.8397 MB / 0.8784 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/1.095, allocations: 66 kB / 0.8784 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/1.095, allocations: 91.91 kB / 0.8785 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/1.097, allocations: 0.9794 MB / 0.8795 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.097, allocations: 4 kB / 0.8795 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/1.097, allocations: 40 kB / 0.8795 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/1.097, allocations: 34 kB / 0.8795 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.099, allocations: 0.8705 MB / 0.8804 GB, free: 3.156 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.00617/1.105, allocations: 3.632 MB / 0.8839 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/1.106, allocations: 467.6 kB / 0.8844 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/1.106, allocations: 273.4 kB / 0.8846 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/1.106, allocations: 15.77 kB / 0.8847 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.106, allocations: 39.69 kB / 0.8847 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 3.257e-06/1.106, allocations: 0 / 0.8847 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.003475/1.11, allocations: 1.761 MB / 0.8864 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.11, allocations: 55.41 kB / 0.8865 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.111, allocations: 0.8921 MB / 0.8873 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/1.111, allocations: 37.7 kB / 0.8874 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/1.112, allocations: 495.1 kB / 0.8879 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/1.112, allocations: 161.7 kB / 0.888 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/1.112, allocations: 118.2 kB / 0.8881 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.112, allocations: 333.9 kB / 0.8884 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/1.113, allocations: 233.1 kB / 0.8887 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/1.113, allocations: 378.4 kB / 0.889 GB, free: 9.867 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.003243/1.116, allocations: 1.435 MB / 0.8904 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.116, allocations: 0 / 0.8904 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001449/1.118, allocations: 0.777 MB / 0.8912 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/1.118, allocations: 8.609 kB / 0.8912 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.118, allocations: 4 kB / 0.8912 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/1.118, allocations: 65.69 kB / 0.8913 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/1.119, allocations: 152.3 kB / 0.8914 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/1.122, allocations: 3.117 MB / 0.8944 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008557/1.123, allocations: 20 kB / 0.8945 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/1.123, allocations: 24 kB / 0.8945 GB, free: 3.898 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: 16 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007651/1.123, allocations: 317.7 kB / 0.8948 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/1.124, allocations: 94.88 kB / 0.8949 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/1.124, allocations: 100.9 kB / 0.895 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.124, allocations: 7.938 kB / 0.895 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.124, allocations: 0 / 0.895 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/1.125, allocations: 0.7936 MB / 0.8958 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/1.129, allocations: 1.672 MB / 0.8974 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.129, allocations: 4 kB / 0.8974 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/1.129, allocations: 123.8 kB / 0.8975 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/1.13, allocations: 37.16 kB / 0.8975 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/1.13, allocations: 15.98 kB / 0.8976 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.131, allocations: 1.61 MB / 0.8991 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.131, allocations: 4 kB / 0.8991 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/1.133, allocations: 0.9868 MB / 0.9001 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/1.134, allocations: 259.9 kB / 0.9003 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/1.134, allocations: 8.062 kB / 0.9004 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/1.135, allocations: 35.97 kB / 0.9004 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.135, allocations: 43.89 kB / 0.9004 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.135, allocations: 39.84 kB / 0.9005 GB, free: 13.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001032/1.136, allocations: 0.6161 MB / 0.9011 GB, free: 12.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.136, allocations: 3.938 kB / 0.9011 GB, free: 12.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00112/1.137, allocations: 284 kB / 0.9013 GB, free: 12.47 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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): 41 * 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.000525/1.138, allocations: 188.2 kB / 0.9015 GB, free: 12.29 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001531/1.139, allocations: 0.7781 MB / 0.9023 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.139, allocations: 4 kB / 0.9023 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005755/1.14, allocations: 371.9 kB / 0.9026 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/1.143, allocations: 0.6382 MB / 0.9033 GB, free: 10.47 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/1.147, allocations: 1.82 MB / 0.905 GB, free: 8.594 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.148, allocations: 1.107 MB / 0.9061 GB, free: 7.453 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001076/1.149, allocations: 228 kB / 0.9063 GB, free: 7.227 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/1.149, allocations: 67.44 kB / 0.9064 GB, free: 7.16 MB / 0.67 GB Notification: Performance of SimCode: time 9.91e-07/1.149, allocations: 0 / 0.9064 GB, free: 7.16 MB / 0.67 GB Notification: Performance of Templates: time 0.04087/1.19, allocations: 22.22 MB / 0.9281 GB, free: 1.152 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)