Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.685/0.685, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009773/0.0009772, allocations: 183.3 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007562/0.0007561, allocations: 98.69 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 272.9 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.988e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3615, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.49/3.852, allocations: 1.891 GB / 2.655 GB, free: 115.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/3.852, allocations: 86.08 kB / 2.655 GB, free: 115.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.368/7.22, allocations: 1.098 GB / 3.753 GB, free: 90.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.272e-06/7.22, allocations: 7.938 kB / 3.753 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001762/7.22, allocations: 51.92 kB / 3.753 GB, free: 90.43 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004432/7.224, allocations: 1.859 MB / 3.755 GB, free: 88.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/7.225, allocations: 8.031 kB / 3.755 GB, free: 88.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004361/7.225, allocations: 210.8 kB / 3.755 GB, free: 88.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/7.228, allocations: 497.2 kB / 3.756 GB, free: 87.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/7.232, allocations: 1.528 MB / 3.757 GB, free: 86.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/7.233, allocations: 114.7 kB / 3.757 GB, free: 86.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/7.233, allocations: 148 kB / 3.758 GB, free: 85.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/7.237, allocations: 1.691 MB / 3.759 GB, free: 84.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/7.237, allocations: 7.844 kB / 3.759 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/7.237, allocations: 60 kB / 3.759 GB, free: 84.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/7.237, allocations: 54.48 kB / 3.759 GB, free: 84.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/7.24, allocations: 1.328 MB / 3.761 GB, free: 82.72 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.008024/7.248, allocations: 7.372 MB / 3.768 GB, free: 74.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/7.249, allocations: 1.008 MB / 3.769 GB, free: 73.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/7.249, allocations: 0.6712 MB / 3.77 GB, free: 73.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/7.25, allocations: 114.1 kB / 3.77 GB, free: 73.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/7.25, allocations: 51.5 kB / 3.77 GB, free: 73.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001278/7.251, allocations: 326.8 kB / 3.77 GB, free: 72.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 8.336e-06/7.251, allocations: 0 / 3.77 GB, free: 72.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.005711/7.257, allocations: 3.678 MB / 3.774 GB, free: 68.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/7.257, allocations: 171.2 kB / 3.774 GB, free: 68.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/7.258, allocations: 1.062 MB / 3.775 GB, free: 67.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/7.258, allocations: 57.69 kB / 3.775 GB, free: 67.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/7.259, allocations: 0.6928 MB / 3.776 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/7.259, allocations: 398.2 kB / 3.776 GB, free: 66.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/7.259, allocations: 32.12 kB / 3.776 GB, free: 66.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/7.259, allocations: 358.3 kB / 3.776 GB, free: 66.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/7.26, allocations: 499.8 kB / 3.777 GB, free: 65.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008206/7.261, allocations: 0.8386 MB / 3.778 GB, free: 64.7 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.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 (sin.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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/7.275, allocations: 4.014 MB / 3.781 GB, free: 60.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/7.275, allocations: 4 kB / 3.781 GB, free: 60.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002407/7.278, allocations: 1.546 MB / 3.783 GB, free: 59.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/7.278, allocations: 11.95 kB / 3.783 GB, free: 59.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/7.278, allocations: 16.16 kB / 3.783 GB, free: 59.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/7.278, allocations: 12 kB / 3.783 GB, free: 59.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/7.279, allocations: 295.5 kB / 3.783 GB, free: 58.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/7.279, allocations: 23.92 kB / 3.783 GB, free: 58.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/7.281, allocations: 87.7 kB / 3.783 GB, free: 58.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/7.281, allocations: 63.98 kB / 3.783 GB, free: 58.58 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.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: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0002755/7.281, allocations: 200.8 kB / 3.784 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/7.282, allocations: 166 kB / 3.784 GB, free: 58.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/7.283, allocations: 1.236 MB / 3.785 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/7.284, allocations: 15.61 kB / 3.785 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/7.284, allocations: 0 / 3.785 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/7.285, allocations: 1.186 MB / 3.786 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/7.29, allocations: 3.697 MB / 3.79 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/7.29, allocations: 12.12 kB / 3.79 GB, free: 51.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/7.291, allocations: 259.7 kB / 3.79 GB, free: 51.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/7.291, allocations: 16 kB / 3.79 GB, free: 51.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/7.291, allocations: 32 kB / 3.79 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/7.291, allocations: 19.92 kB / 3.79 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/7.291, allocations: 19.88 kB / 3.79 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/7.293, allocations: 2.808 MB / 3.793 GB, free: 48.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/7.294, allocations: 351.1 kB / 3.793 GB, free: 47.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/7.294, allocations: 39.98 kB / 3.793 GB, free: 47.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/7.296, allocations: 95.7 kB / 3.793 GB, free: 47.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/7.296, allocations: 100.5 kB / 3.793 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/7.296, allocations: 55.98 kB / 3.794 GB, free: 47.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001251/7.297, allocations: 0.8119 MB / 3.794 GB, free: 46.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/7.297, allocations: 0 / 3.794 GB, free: 46.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002568/7.3, allocations: 0.621 MB / 3.795 GB, free: 45.97 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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 Backend phase and start with SimCode phase: time 0.005946/7.306, allocations: 8.144 MB / 3.803 GB, free: 37.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001681/7.307, allocations: 1.178 MB / 3.804 GB, free: 36.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/7.308, allocations: 0 / 3.804 GB, free: 36.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006025/7.308, allocations: 0.5337 MB / 3.805 GB, free: 35.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/7.312, allocations: 0.8636 MB / 3.805 GB, free: 34.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/7.317, allocations: 3.168 MB / 3.808 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/7.318, allocations: 1.403 MB / 3.81 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00144/7.319, allocations: 380.5 kB / 3.81 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/7.32, allocations: 0.6281 MB / 3.811 GB, free: 29.2 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/7.32, allocations: 3.609 kB / 3.811 GB, free: 29.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5116/7.831, allocations: 78.05 MB / 3.887 GB, free: 121.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/7.832, allocations: 232 kB / 3.887 GB, free: 121 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.43/12.26, allocations: 2.375 kB / 3.887 GB, free: 121 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)