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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004697/0.004697, allocations: 101.2 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.001136/0.001136, allocations: 194.3 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 294.4 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8876/0.8876, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 88.19 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1626, allocations: 86.99 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5391/0.7017, allocations: 209.9 MB / 0.9709 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.717, allocations: 9.862 MB / 0.9805 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.7193, allocations: 55.69 kB / 0.9806 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.7218, allocations: 0.7687 MB / 0.9813 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00798/0.7298, allocations: 2.808 MB / 0.9841 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.7336, allocations: 1.391 MB / 0.9854 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005519/0.7391, allocations: 4.074 MB / 0.9894 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.7413, allocations: 1.317 MB / 0.9907 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.7441, allocations: 1.389 MB / 0.992 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.747, allocations: 1.232 MB / 0.9932 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004671/0.7475, allocations: 148 kB / 0.9934 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/0.7525, allocations: 2.389 MB / 0.9957 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009342/0.7534, allocations: 0.6039 MB / 0.9963 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.7551, allocations: 0.8556 MB / 0.9971 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005518/0.7607, allocations: 3.015 MB / 1 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7607, allocations: 0 / 1 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7607, allocations: 0 / 1 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.39e-05/0.7608, allocations: 0 / 1 GB, free: 3.105 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.00406/0.7649, allocations: 1.904 MB / 1.002 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.7649, allocations: 12.03 kB / 1.002 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003062/0.7652, allocations: 164.8 kB / 1.002 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.7684, allocations: 485.7 kB / 1.003 GB, free: 496 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.7707, allocations: 1.132 MB / 1.004 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.7707, allocations: 82.14 kB / 1.004 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.771, allocations: 117 kB / 1.004 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.773, allocations: 1.149 MB / 1.005 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.7731, allocations: 11.92 kB / 1.005 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.7732, allocations: 44 kB / 1.005 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.136e-05/0.7732, allocations: 42.14 kB / 1.005 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.775, allocations: 1.07 MB / 1.006 GB, free: 12.76 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.006493/0.7815, allocations: 4.194 MB / 1.01 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.7828, allocations: 0.7894 MB / 1.011 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.7834, allocations: 486.2 kB / 1.011 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/0.7838, allocations: 288.3 kB / 1.012 GB, free: 6.672 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.7839, allocations: 51.75 kB / 1.012 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.7839, allocations: 0 / 1.012 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of matching and sorting (n=89): time 0.005749/0.7897, allocations: 2.84 MB / 1.015 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.7897, allocations: 68.34 kB / 1.015 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.791, allocations: 0.9793 MB / 1.016 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/0.7911, allocations: 45.7 kB / 1.016 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.7916, allocations: 0.5395 MB / 1.016 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.7919, allocations: 311.5 kB / 1.016 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.7922, allocations: 158.6 kB / 1.017 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7923, allocations: 338 kB / 1.017 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.7928, allocations: 341.8 kB / 1.017 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.7935, allocations: 481.9 kB / 1.018 GB, free: 372 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.005929/0.7994, allocations: 3.047 MB / 1.021 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7994, allocations: 7.984 kB / 1.021 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001613/0.8011, allocations: 1.007 MB / 1.022 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.8011, allocations: 11.94 kB / 1.022 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8011, allocations: 4 kB / 1.022 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.8011, allocations: 4 kB / 1.022 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.8019, allocations: 184.1 kB / 1.022 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.8019, allocations: 13.62 kB / 1.022 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.803, allocations: 27.91 kB / 1.022 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.803, allocations: 32 kB / 1.022 GB, free: 11.94 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.0006536/0.8037, allocations: 382.1 kB / 1.022 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.804, allocations: 126.5 kB / 1.022 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.8044, allocations: 148.3 kB / 1.023 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.8044, allocations: 8 kB / 1.023 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.8044, allocations: 8 kB / 1.023 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.8059, allocations: 1.086 MB / 1.024 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/0.8109, allocations: 3.047 MB / 1.027 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.811, allocations: 12 kB / 1.027 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007222/0.8117, allocations: 164.5 kB / 1.027 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.8121, allocations: 101.7 kB / 1.027 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.8121, allocations: 35.98 kB / 1.027 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.8147, allocations: 3.094 MB / 1.03 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.8147, allocations: 11.94 kB / 1.03 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.8172, allocations: 1.737 MB / 1.032 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.8178, allocations: 303.5 kB / 1.032 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.8181, allocations: 35.92 kB / 1.032 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009901/0.8191, allocations: 38.02 kB / 1.032 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.8192, allocations: 88.11 kB / 1.032 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-05/0.8193, allocations: 43.98 kB / 1.032 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001003/0.8203, allocations: 0.6956 MB / 1.033 GB, free: 100 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8203, allocations: 0 / 1.033 GB, free: 100 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001223/0.8215, allocations: 376 kB / 1.033 GB, free: 15.73 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.003155/0.8247, allocations: 2.435 MB / 1.036 GB, free: 13.15 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.8262, allocations: 0.8402 MB / 1.036 GB, free: 12.31 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.8262, allocations: 0 / 1.036 GB, free: 12.31 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.8272, allocations: 0.6691 MB / 1.037 GB, free: 11.62 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/0.8312, allocations: 0.9216 MB / 1.038 GB, free: 10.71 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.8454, allocations: 9.674 MB / 1.047 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.8465, allocations: 1.253 MB / 1.049 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001203/0.8477, allocations: 335 kB / 1.049 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006851/0.8484, allocations: 479.3 kB / 1.049 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of SimCode: time 1.243e-06/0.8484, allocations: 3.938 kB / 1.049 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/0.9228, allocations: 39.09 MB / 1.088 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.8, allocations: 7.812 kB / 1.088 GB, free: 8.051 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)