Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json 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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009137, allocations: 94.03 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009986/0.0009986, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.0005351, allocations: 19.98 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6002/0.6007, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1872/0.788, allocations: 155.5 MB / 0.88 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007253/0.7953, allocations: 4.075 MB / 0.884 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009222/0.7963, allocations: 19.88 kB / 0.884 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.7971, allocations: 242.5 kB / 0.8842 GB, free: 11.09 MB / 0.7012 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. Notification: Performance of NFTyping.typeBindings: time 0.002655/0.7998, allocations: 0.8085 MB / 0.885 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.8019, allocations: 0.6268 MB / 0.8856 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.8039, allocations: 1.63 MB / 0.8872 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.8045, allocations: 386.3 kB / 0.8876 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.8056, allocations: 0.5447 MB / 0.8881 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.8063, allocations: 470.3 kB / 0.8886 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.8064, allocations: 24 kB / 0.8886 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.8078, allocations: 0.6159 MB / 0.8892 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.808, allocations: 195.4 kB / 0.8894 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.8082, allocations: 153.3 kB / 0.8895 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009506/0.8092, allocations: 0.8184 MB / 0.8903 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8092, allocations: 0 / 0.8903 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8092, allocations: 0 / 0.8903 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.8092, allocations: 4 kB / 0.8903 GB, free: 4.824 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001547/0.8108, allocations: 0.861 MB / 0.8912 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.8108, allocations: 8.031 kB / 0.8912 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.8122, allocations: 279 kB / 0.8915 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007782/0.813, allocations: 469.8 kB / 0.8919 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.8133, allocations: 104.9 kB / 0.892 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.8134, allocations: 40 kB / 0.892 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.8146, allocations: 0.6523 MB / 0.8927 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8146, allocations: 0 / 0.8927 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.8147, allocations: 24 kB / 0.8927 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.8147, allocations: 20.95 kB / 0.8927 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.8161, allocations: 0.5893 MB / 0.8933 GB, free: 1.68 MB / 0.7012 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.003891/0.82, allocations: 2.327 MB / 0.8956 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.8209, allocations: 314.3 kB / 0.8959 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.8214, allocations: 192.7 kB / 0.8961 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.8215, allocations: 0 / 0.8961 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.8215, allocations: 38.56 kB / 0.8961 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.8215, allocations: 0 / 0.8961 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.004843/0.8264, allocations: 1.182 MB / 0.8972 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.8264, allocations: 77.11 kB / 0.8973 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.8272, allocations: 0.5652 MB / 0.8979 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.8272, allocations: 33.7 kB / 0.8979 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.8275, allocations: 311.4 kB / 0.8982 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.8275, allocations: 35.55 kB / 0.8982 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.8276, allocations: 4 kB / 0.8982 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.8278, allocations: 358.8 kB / 0.8986 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.8283, allocations: 199.8 kB / 0.8988 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.8289, allocations: 305.3 kB / 0.8991 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.8295, allocations: 215 kB / 0.8993 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8295, allocations: 3.953 kB / 0.8993 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002512/0.8321, allocations: 0.7825 MB / 0.9 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.8321, allocations: 4 kB / 0.9 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.8321, allocations: 8.094 kB / 0.9 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000651/0.8328, allocations: 188.7 kB / 0.9002 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.8332, allocations: 75.89 kB / 0.9003 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.8367, allocations: 2.09 MB / 0.9023 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.8373, allocations: 99.48 kB / 0.9024 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.8374, allocations: 8 kB / 0.9024 GB, free: 7.898 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.8377, allocations: 209.6 kB / 0.9026 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/0.8378, allocations: 51.34 kB / 0.9027 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/0.8379, allocations: 56.12 kB / 0.9027 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.838, allocations: 0 / 0.9027 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.838, allocations: 0 / 0.9027 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.838, allocations: 4 kB / 0.9028 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.8409, allocations: 1.199 MB / 0.9039 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.8409, allocations: 0 / 0.9039 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.8412, allocations: 48.02 kB / 0.904 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.8417, allocations: 188.7 kB / 0.9041 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.8417, allocations: 7.984 kB / 0.9042 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.8449, allocations: 2.042 MB / 0.9061 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8449, allocations: 4.031 kB / 0.9062 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.8473, allocations: 0.7587 MB / 0.9069 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.8477, allocations: 180.3 kB / 0.9071 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.8478, allocations: 4 kB / 0.9071 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.8484, allocations: 70.52 kB / 0.9071 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.8484, allocations: 19.91 kB / 0.9072 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.8485, allocations: 11.98 kB / 0.9072 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005023/0.849, allocations: 402.8 kB / 0.9076 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.849, allocations: 4 kB / 0.9076 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007264/0.8498, allocations: 167.8 kB / 0.9077 GB, free: 2.246 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004955/0.8503, allocations: 170.1 kB / 0.9079 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.8519, allocations: 0.557 MB / 0.9084 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8519, allocations: 0 / 0.9084 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.8527, allocations: 323 kB / 0.9087 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.8541, allocations: 301.7 kB / 0.909 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.435/1.289, allocations: 1.268 MB / 0.9103 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/1.29, allocations: 0.8646 MB / 0.9111 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006999/1.29, allocations: 103.8 kB / 0.9112 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.29, allocations: 38.03 kB / 0.9112 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.353e-06/1.29, allocations: 0.8438 kB / 0.9112 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.02758/1.318, allocations: 11.71 MB / 0.9227 GB, free: 177.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: