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.005482/0.005482, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001208/0.001208, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 294.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9502/0.9502, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 100.2 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1509, allocations: 86.98 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.537/0.688, allocations: 209.9 MB / 0.9714 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.703, allocations: 9.863 MB / 0.981 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.7055, allocations: 59.62 kB / 0.9811 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.7077, allocations: 0.7687 MB / 0.9818 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/0.7161, allocations: 2.801 MB / 0.9845 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.72, allocations: 1.395 MB / 0.9859 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005387/0.7254, allocations: 4.062 MB / 0.9899 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.7272, allocations: 1.326 MB / 0.9912 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.7297, allocations: 1.393 MB / 0.9925 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.7319, allocations: 1.237 MB / 0.9937 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.7322, allocations: 144 kB / 0.9939 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.7367, allocations: 2.381 MB / 0.9962 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005965/0.7373, allocations: 0.6116 MB / 0.9968 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.7383, allocations: 0.8556 MB / 0.9976 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004523/0.7428, allocations: 3.011 MB / 1.001 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.7428, allocations: 0 / 1.001 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7428, allocations: 8 kB / 1.001 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.7429, allocations: 0 / 1.001 GB, free: 2.746 MB / 0.7481 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.002945/0.7458, allocations: 1.9 MB / 1.002 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.7459, allocations: 12.03 kB / 1.002 GB, free: 0.7773 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.749, allocations: 481.7 kB / 1.003 GB, free: 312 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.7508, allocations: 1.132 MB / 1.004 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.7509, allocations: 82.14 kB / 1.004 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.7512, allocations: 108 kB / 1.004 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.7532, allocations: 1.155 MB / 1.005 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.7532, allocations: 3.938 kB / 1.005 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.7533, allocations: 47.94 kB / 1.005 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.7534, allocations: 50.12 kB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.7551, allocations: 1.07 MB / 1.006 GB, free: 12.58 MB / 0.7637 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.006119/0.7613, allocations: 4.196 MB / 1.011 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.7625, allocations: 0.7818 MB / 1.011 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.7631, allocations: 490.2 kB / 1.012 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/0.7635, allocations: 288.3 kB / 1.012 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.7636, allocations: 47.56 kB / 1.012 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=83): time 2.404e-06/0.7636, allocations: 0 / 1.012 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of matching and sorting (n=89): time 0.00577/0.7694, allocations: 2.848 MB / 1.015 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.7694, allocations: 64.34 kB / 1.015 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7706, allocations: 0.9793 MB / 1.016 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.7707, allocations: 41.7 kB / 1.016 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.7711, allocations: 0.5434 MB / 1.016 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.7713, allocations: 307.5 kB / 1.017 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.7716, allocations: 158.6 kB / 1.017 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7717, allocations: 345.9 kB / 1.017 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.7723, allocations: 337.8 kB / 1.018 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/0.7729, allocations: 481.9 kB / 1.018 GB, free: 192 kB / 0.7637 GB 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) 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006083/0.779, allocations: 3.047 MB / 1.021 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.7791, allocations: 4 kB / 1.021 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001727/0.7808, allocations: 1.007 MB / 1.022 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7808, allocations: 8.312 kB / 1.022 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7808, allocations: 8 kB / 1.022 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.7809, allocations: 8 kB / 1.022 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/0.7817, allocations: 183.7 kB / 1.022 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.7818, allocations: 4 kB / 1.022 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009613/0.7827, allocations: 35.89 kB / 1.022 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.7829, allocations: 28 kB / 1.022 GB, free: 11.77 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006463/0.7835, allocations: 382.6 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.7837, allocations: 130.5 kB / 1.023 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.784, allocations: 148.3 kB / 1.023 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.784, allocations: 15.92 kB / 1.023 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.7841, allocations: 0 / 1.023 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/0.7855, allocations: 1.09 MB / 1.024 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.7901, allocations: 3.047 MB / 1.027 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.7901, allocations: 8 kB / 1.027 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.7908, allocations: 171.9 kB / 1.027 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.7912, allocations: 97.66 kB / 1.027 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.7913, allocations: 28 kB / 1.027 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/0.7939, allocations: 3.082 MB / 1.03 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.7939, allocations: 20.11 kB / 1.03 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.7965, allocations: 1.729 MB / 1.032 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.797, allocations: 311.5 kB / 1.032 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.7972, allocations: 32 kB / 1.032 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009041/0.7981, allocations: 41.95 kB / 1.032 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7982, allocations: 88.09 kB / 1.032 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.7983, allocations: 47.98 kB / 1.032 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009033/0.7992, allocations: 0.6956 MB / 1.033 GB, free: 15.92 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7992, allocations: 0 / 1.033 GB, free: 15.92 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00104/0.8003, allocations: 372 kB / 1.033 GB, free: 15.56 MB / 0.795 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 (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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005215/0.8008, allocations: 251.7 kB / 1.034 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.8022, allocations: 0.8434 MB / 1.035 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.8022, allocations: 4 kB / 1.035 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009244/0.8031, allocations: 0.6697 MB / 1.035 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.8071, allocations: 0.9235 MB / 1.036 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.8112, allocations: 2.772 MB / 1.039 GB, free: 9.938 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.8121, allocations: 1.249 MB / 1.04 GB, free: 8.66 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001093/0.8132, allocations: 339 kB / 1.04 GB, free: 8.324 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.8135, allocations: 99.42 kB / 1.04 GB, free: 8.227 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.8135, allocations: 0 / 1.04 GB, free: 8.227 MB / 0.795 GB Notification: Performance of Templates: time 0.04507/0.8586, allocations: 28.6 MB / 1.068 GB, free: 12.04 MB / 0.8262 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)