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.8403/0.8403, allocations: 143.4 MB / 158.3 MB, free: 5.672 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001288, allocations: 177.1 kB / 191.5 MB, free: 5.66 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.458/1.458, allocations: 223.2 MB / 447.7 MB, free: 4.734 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.0009316/0.0009315, allocations: 88.33 kB / 0.5187 GB, free: 1.105 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 272.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004604, allocations: 19.84 kB / 0.6929 GB, free: 59.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2009, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.37/5.571, allocations: 1.891 GB / 2.665 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/5.571, allocations: 91.27 kB / 2.665 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.535/10.11, allocations: 1.099 GB / 3.764 GB, free: 80.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.915e-06/10.11, allocations: 0 / 3.764 GB, free: 80.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001715/10.11, allocations: 49.78 kB / 3.764 GB, free: 80.48 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.006217/10.11, allocations: 2.131 MB / 3.766 GB, free: 79.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/10.11, allocations: 10.73 kB / 3.766 GB, free: 79.59 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003823/10.11, allocations: 212.3 kB / 3.766 GB, free: 79.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/10.12, allocations: 495.8 kB / 3.767 GB, free: 79.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/10.12, allocations: 1.538 MB / 3.768 GB, free: 79.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/10.12, allocations: 108.9 kB / 3.768 GB, free: 79.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/10.12, allocations: 161.5 kB / 3.768 GB, free: 79.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/10.12, allocations: 1.714 MB / 3.77 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/10.12, allocations: 6.375 kB / 3.77 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/10.12, allocations: 58.94 kB / 3.77 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-05/10.12, allocations: 50.73 kB / 3.77 GB, free: 78.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/10.13, allocations: 1.352 MB / 3.771 GB, free: 78.77 MB / 0.7136 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.009027/10.13, allocations: 7.392 MB / 3.779 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/10.14, allocations: 1.01 MB / 3.78 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/10.14, allocations: 116 kB / 3.78 GB, free: 74.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/10.14, allocations: 59.86 kB / 3.78 GB, free: 74.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001631/10.14, allocations: 320.5 kB / 3.78 GB, free: 74.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 4.177e-06/10.14, allocations: 0 / 3.78 GB, free: 74.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.007214/10.15, allocations: 4.232 MB / 3.784 GB, free: 73.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/10.15, allocations: 172.5 kB / 3.784 GB, free: 72.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/10.15, allocations: 1.078 MB / 3.785 GB, free: 72.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/10.15, allocations: 50.39 kB / 3.785 GB, free: 72.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/10.15, allocations: 0.6939 MB / 3.786 GB, free: 72.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/10.15, allocations: 400 kB / 3.787 GB, free: 72.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/10.15, allocations: 30.84 kB / 3.787 GB, free: 72.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001025/10.15, allocations: 351.4 kB / 3.787 GB, free: 71.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/10.15, allocations: 0.505 MB / 3.787 GB, free: 71.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/10.15, allocations: 0.846 MB / 3.788 GB, free: 71.49 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.009334/10.16, allocations: 3.414 MB / 3.792 GB, free: 71.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/10.16, allocations: 2.375 kB / 3.792 GB, free: 71.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002638/10.16, allocations: 1.569 MB / 3.793 GB, free: 71.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/10.16, allocations: 9.25 kB / 3.793 GB, free: 71.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/10.16, allocations: 14.73 kB / 3.793 GB, free: 71.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-05/10.16, allocations: 18.31 kB / 3.793 GB, free: 71.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/10.16, allocations: 286.7 kB / 3.793 GB, free: 71.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/10.16, allocations: 23.88 kB / 3.793 GB, free: 71.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/10.16, allocations: 102.1 kB / 3.794 GB, free: 71.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/10.17, allocations: 67.06 kB / 3.794 GB, free: 71.01 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 () * Number of clocked 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.0009953/10.17, allocations: 424.1 kB / 3.794 GB, free: 70.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/10.17, allocations: 157.2 kB / 3.794 GB, free: 70.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/10.17, allocations: 1.244 MB / 3.795 GB, free: 70.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/10.17, allocations: 11.81 kB / 3.795 GB, free: 70.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/10.17, allocations: 4.875 kB / 3.795 GB, free: 70.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/10.17, allocations: 1.206 MB / 3.797 GB, free: 70.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/10.18, allocations: 3.709 MB / 3.8 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/10.18, allocations: 16.06 kB / 3.8 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/10.18, allocations: 251.1 kB / 3.8 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/10.18, allocations: 17.84 kB / 3.8 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/10.18, allocations: 42.94 kB / 3.8 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/10.18, allocations: 29.11 kB / 3.801 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/10.18, allocations: 10.62 kB / 3.801 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/10.18, allocations: 2.843 MB / 3.803 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009615/10.18, allocations: 351 kB / 3.804 GB, free: 67.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/10.18, allocations: 38.58 kB / 3.804 GB, free: 67.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/10.18, allocations: 91.89 kB / 3.804 GB, free: 67.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/10.18, allocations: 104 kB / 3.804 GB, free: 67.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.709e-05/10.18, allocations: 51.09 kB / 3.804 GB, free: 67.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001174/10.18, allocations: 0.8311 MB / 3.805 GB, free: 67.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/10.18, allocations: 0 / 3.805 GB, free: 67.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002655/10.19, allocations: 0.6213 MB / 3.805 GB, free: 67.37 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 () * Number of clocked 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.007083/10.19, allocations: 8.16 MB / 3.813 GB, free: 62.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0022/10.2, allocations: 1.2 MB / 3.814 GB, free: 62.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/10.2, allocations: 3.969 kB / 3.814 GB, free: 62.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000758/10.2, allocations: 0.5366 MB / 3.815 GB, free: 61.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/10.2, allocations: 0.8708 MB / 3.816 GB, free: 61.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008945/10.21, allocations: 10.42 MB / 3.826 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009742/10.21, allocations: 1.4 MB / 3.827 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002049/10.21, allocations: 374.5 kB / 3.828 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009447/10.21, allocations: 0.627 MB / 3.828 GB, free: 52.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.844e-06/10.21, allocations: 0 / 3.828 GB, free: 52.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/10.33, allocations: 72.17 MB / 3.899 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/10.33, allocations: 268.3 kB / 3.899 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.448/14.78, allocations: 0 / 3.899 GB, free: 11.63 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)