Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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 1.126/1.126, allocations: 143.3 MB / 158.3 MB, free: 5.805 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.001159/0.001159, allocations: 179.1 kB / 191.5 MB, free: 5.762 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.614/1.614, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0009009/0.0009009, allocations: 88.31 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.0022, allocations: 266.4 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004703, allocations: 13.84 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.533/5.756, allocations: 1.88 GB / 2.653 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004566/5.756, allocations: 93.78 kB / 2.654 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.846/7.602, allocations: 464.3 MB / 3.107 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/7.602, allocations: 3.469 kB / 3.107 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.019e-05/7.602, allocations: 30.75 kB / 3.107 GB, free: 149.9 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003048/7.605, allocations: 1.378 MB / 3.108 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/7.605, allocations: 10.34 kB / 3.108 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/7.605, allocations: 142.6 kB / 3.109 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/7.607, allocations: 308.1 kB / 3.109 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/7.609, allocations: 0.8233 MB / 3.11 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/7.609, allocations: 71.36 kB / 3.11 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/7.61, allocations: 88.94 kB / 3.11 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/7.611, allocations: 0.9798 MB / 3.111 GB, free: 149 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/7.611, allocations: 0 / 3.111 GB, free: 149 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/7.611, allocations: 39.81 kB / 3.111 GB, free: 149 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/7.611, allocations: 30.44 kB / 3.111 GB, free: 149 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/7.613, allocations: 0.8053 MB / 3.112 GB, free: 149 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/7.618, allocations: 3.469 MB / 3.115 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/7.619, allocations: 480.5 kB / 3.115 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/7.619, allocations: 100.7 kB / 3.116 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/7.619, allocations: 46.83 kB / 3.116 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/7.619, allocations: 0 / 3.116 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.003997/7.623, allocations: 1.829 MB / 3.117 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/7.623, allocations: 55.78 kB / 3.117 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/7.624, allocations: 0.7054 MB / 3.118 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/7.624, allocations: 37.52 kB / 3.118 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/7.625, allocations: 470.3 kB / 3.119 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/7.625, allocations: 179.8 kB / 3.119 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/7.625, allocations: 13.72 kB / 3.119 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/7.625, allocations: 326.5 kB / 3.119 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/7.625, allocations: 238 kB / 3.119 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/7.626, allocations: 384.5 kB / 3.12 GB, free: 146 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/7.629, allocations: 0.9716 MB / 3.121 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/7.629, allocations: 0 / 3.121 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001239/7.63, allocations: 0.7771 MB / 3.121 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/7.63, allocations: 6.438 kB / 3.121 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/7.63, allocations: 3.5 kB / 3.121 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/7.63, allocations: 64.06 kB / 3.121 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/7.631, allocations: 134 kB / 3.122 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/7.633, allocations: 2.784 MB / 3.124 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/7.634, allocations: 70.45 kB / 3.124 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/7.634, allocations: 25.88 kB / 3.124 GB, free: 143.3 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005862/7.634, allocations: 298.7 kB / 3.125 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/7.634, allocations: 99.08 kB / 3.125 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/7.635, allocations: 98.89 kB / 3.125 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/7.635, allocations: 6.156 kB / 3.125 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/7.635, allocations: 3.797 kB / 3.125 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008473/7.636, allocations: 0.8162 MB / 3.126 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/7.638, allocations: 1.728 MB / 3.127 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/7.638, allocations: 3.562 kB / 3.127 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/7.639, allocations: 118.2 kB / 3.127 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.671e-05/7.639, allocations: 30.2 kB / 3.128 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/7.639, allocations: 21.25 kB / 3.128 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008093/7.64, allocations: 1.422 MB / 3.129 GB, free: 141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/7.64, allocations: 6.938 kB / 3.129 GB, free: 141 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/7.641, allocations: 1.204 MB / 3.13 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/7.641, allocations: 234.6 kB / 3.13 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/7.642, allocations: 15.23 kB / 3.13 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/7.642, allocations: 60.22 kB / 3.13 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/7.642, allocations: 48.88 kB / 3.13 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/7.642, allocations: 32.06 kB / 3.13 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006479/7.643, allocations: 0.5493 MB / 3.131 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/7.643, allocations: 0 / 3.131 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001398/7.645, allocations: 396.3 kB / 3.131 GB, free: 140.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003405/7.648, allocations: 3.802 MB / 3.135 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001242/7.649, allocations: 0.7854 MB / 3.136 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/7.649, allocations: 3.906 kB / 3.136 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004663/7.65, allocations: 390.5 kB / 3.136 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/7.652, allocations: 0.5639 MB / 3.137 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/7.66, allocations: 7.266 MB / 3.144 GB, free: 134 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/7.66, allocations: 1.102 MB / 3.145 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001014/7.661, allocations: 217.6 kB / 3.145 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/7.662, allocations: 343.1 kB / 3.146 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/7.662, allocations: 0 / 3.146 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07115/7.733, allocations: 45.9 MB / 3.19 GB, free: 132 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/7.733, allocations: 293.5 kB / 3.191 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/11.34, allocations: 0 / 3.191 GB, free: 131.7 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)