Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009367, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008348/0.0008348, 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 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 270.5 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9488/0.9488, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 18.31 kB / 0.598 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.444/0.5754, allocations: 191.1 MB / 0.8711 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.5888, allocations: 9.291 MB / 0.8802 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.5906, allocations: 55.25 kB / 0.8802 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.5924, allocations: 0.5244 MB / 0.8807 GB, free: 5.035 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005394/0.5978, allocations: 2.045 MB / 0.8827 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.6006, allocations: 0.9883 MB / 0.8837 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005073/0.6057, allocations: 4.753 MB / 0.8883 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.6073, allocations: 0.9505 MB / 0.8893 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.6095, allocations: 1.14 MB / 0.8904 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.6114, allocations: 1.164 MB / 0.8915 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.6116, allocations: 60 kB / 0.8916 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.6148, allocations: 1.165 MB / 0.8927 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006671/0.6154, allocations: 0.5141 MB / 0.8932 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.616, allocations: 329 kB / 0.8935 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.6184, allocations: 2.046 MB / 0.8955 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6185, allocations: 0 / 0.8955 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6185, allocations: 0 / 0.8955 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.833e-05/0.6185, allocations: 0 / 0.8955 GB, free: 8.113 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002764/0.6213, allocations: 1.609 MB / 0.8971 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.6213, allocations: 12.03 kB / 0.8971 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/0.6245, allocations: 493.6 kB / 0.8976 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.6262, allocations: 1.019 MB / 0.8986 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.6263, allocations: 82.14 kB / 0.8986 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.6265, allocations: 123.9 kB / 0.8988 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.6285, allocations: 1.141 MB / 0.8999 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6285, allocations: 7.938 kB / 0.8999 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.6286, allocations: 48.88 kB / 0.8999 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.6287, allocations: 42.12 kB / 0.9 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.6304, allocations: 1.07 MB / 0.901 GB, free: 2.336 MB / 0.6075 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.005661/0.636, allocations: 4.216 MB / 0.9051 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.6373, allocations: 0.7894 MB / 0.9059 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006606/0.6379, allocations: 480 kB / 0.9064 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/0.6383, allocations: 288.3 kB / 0.9066 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.6384, allocations: 47.56 kB / 0.9067 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.6384, allocations: 288 / 0.9067 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89): time 0.005352/0.6437, allocations: 2.852 MB / 0.9095 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.6438, allocations: 60.41 kB / 0.9095 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.645, allocations: 0.9637 MB / 0.9105 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.6451, allocations: 49.7 kB / 0.9105 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.6455, allocations: 0.5318 MB / 0.911 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.6457, allocations: 327.3 kB / 0.9113 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.526e-05/0.6458, allocations: 20 kB / 0.9114 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6459, allocations: 338 kB / 0.9117 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.6465, allocations: 333.8 kB / 0.912 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.6471, allocations: 485.9 kB / 0.9125 GB, free: 6.078 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004679/0.6518, allocations: 2.24 MB / 0.9147 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6518, allocations: 0 / 0.9147 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001542/0.6534, allocations: 1.011 MB / 0.9156 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6534, allocations: 4 kB / 0.9156 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6534, allocations: 4 kB / 0.9156 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.6534, allocations: 12 kB / 0.9157 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.6542, allocations: 187.7 kB / 0.9158 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6542, allocations: 4 kB / 0.9158 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/0.6552, allocations: 76.17 kB / 0.9159 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.6553, allocations: 35.98 kB / 0.916 GB, free: 2.465 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005466/0.6558, allocations: 374.8 kB / 0.9163 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.656, allocations: 130.5 kB / 0.9164 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.6563, allocations: 144.3 kB / 0.9166 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6563, allocations: 15.95 kB / 0.9166 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6564, allocations: 4 kB / 0.9166 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/0.6578, allocations: 1.086 MB / 0.9176 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/0.6624, allocations: 3.047 MB / 0.9206 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.6624, allocations: 11.98 kB / 0.9206 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.6631, allocations: 168.5 kB / 0.9208 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.6634, allocations: 101.6 kB / 0.9209 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.6635, allocations: 32 kB / 0.9209 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.6658, allocations: 2.869 MB / 0.9237 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.669e-05/0.6658, allocations: 11.94 kB / 0.9237 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.6681, allocations: 1.733 MB / 0.9254 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.6686, allocations: 307.5 kB / 0.9257 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.6688, allocations: 31.98 kB / 0.9258 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/0.6697, allocations: 81.3 kB / 0.9258 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6698, allocations: 84.14 kB / 0.9259 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.6699, allocations: 43.98 kB / 0.926 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000869/0.6708, allocations: 0.6878 MB / 0.9266 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6708, allocations: 0 / 0.9266 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001089/0.6719, allocations: 384 kB / 0.927 GB, free: 6.449 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004423/0.6724, allocations: 229.5 kB / 0.9272 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.6736, allocations: 0.82 MB / 0.928 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6737, allocations: 4.75 kB / 0.928 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.6746, allocations: 0.6732 MB / 0.9287 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/0.6784, allocations: 0.894 MB / 0.9295 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.6825, allocations: 3.267 MB / 0.9327 GB, free: 412 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008455/0.6834, allocations: 1.253 MB / 0.934 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001248/0.6846, allocations: 335 kB / 0.9343 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.6849, allocations: 99.42 kB / 0.9344 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.6849, allocations: 0 / 0.9344 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.04064/0.7255, allocations: 26.21 MB / 0.96 GB, free: 4.859 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)