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 0.9932/0.9932, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001068/0.001068, allocations: 183.9 kB / 182.2 MB, free: 9.461 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.607/1.607, allocations: 221.5 MB / 436.4 MB, free: 13.37 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.001082/0.001082, allocations: 92.03 kB / 0.5074 GB, free: 10.21 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 275.5 kB / 0.5889 GB, free: 54.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.436e-05, allocations: 4 kB / 0.6766 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5255, allocations: 82.77 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.168/5.694, allocations: 1.879 GB / 2.636 GB, free: 180.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/5.694, allocations: 87.94 kB / 2.637 GB, free: 180.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.834/7.528, allocations: 458.5 MB / 3.084 GB, free: 148.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/7.528, allocations: 1.094 kB / 3.084 GB, free: 148.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000103/7.528, allocations: 31.59 kB / 3.084 GB, free: 148.8 MB / 0.698 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.002888/7.531, allocations: 1.245 MB / 3.086 GB, free: 148.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/7.531, allocations: 12.91 kB / 3.086 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/7.533, allocations: 307.5 kB / 3.086 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/7.535, allocations: 0.8243 MB / 3.087 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/7.535, allocations: 26.69 kB / 3.087 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/7.535, allocations: 55.06 kB / 3.087 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001415/7.537, allocations: 0.7143 MB / 3.087 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/7.538, allocations: 0.8286 MB / 3.088 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/7.538, allocations: 0 / 3.088 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/7.538, allocations: 3.594 kB / 3.088 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/7.538, allocations: 28.69 kB / 3.088 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004795/7.543, allocations: 3.266 MB / 3.091 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/7.544, allocations: 440.8 kB / 3.092 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/7.544, allocations: 251.4 kB / 3.092 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/7.544, allocations: 103.5 kB / 3.092 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/7.544, allocations: 47.62 kB / 3.092 GB, free: 146.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.509e-06/7.544, allocations: 3.797 kB / 3.092 GB, free: 146.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002463/7.547, allocations: 1.304 MB / 3.094 GB, free: 146.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/7.547, allocations: 55.72 kB / 3.094 GB, free: 146.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/7.547, allocations: 0.5149 MB / 3.094 GB, free: 146 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/7.548, allocations: 27.52 kB / 3.094 GB, free: 146 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/7.548, allocations: 491 kB / 3.095 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/7.548, allocations: 166.9 kB / 3.095 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/7.548, allocations: 0 / 3.095 GB, free: 145.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/7.548, allocations: 379.3 kB / 3.095 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/7.549, allocations: 204.5 kB / 3.095 GB, free: 145.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/7.549, allocations: 342.2 kB / 3.096 GB, free: 145.2 MB / 0.698 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.002385/7.551, allocations: 0.9099 MB / 3.096 GB, free: 145.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/7.551, allocations: 0 / 3.096 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009643/7.552, allocations: 0.6706 MB / 3.097 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/7.552, allocations: 10.78 kB / 3.097 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/7.552, allocations: 7.422 kB / 3.097 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/7.553, allocations: 60.31 kB / 3.097 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/7.553, allocations: 133 kB / 3.097 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/7.555, allocations: 2.66 MB / 3.1 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/7.556, allocations: 54.88 kB / 3.1 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/7.556, allocations: 29.09 kB / 3.1 GB, free: 142.6 MB / 0.698 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 () * 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.000194/7.556, allocations: 114.1 kB / 3.1 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009519/7.557, allocations: 0.5201 MB / 3.101 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/7.557, allocations: 80.62 kB / 3.101 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/7.558, allocations: 76.06 kB / 3.101 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/7.558, allocations: 8.828 kB / 3.101 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/7.558, allocations: 0.5938 kB / 3.101 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009284/7.558, allocations: 0.7593 MB / 3.102 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/7.561, allocations: 1.539 MB / 3.103 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/7.561, allocations: 2.688 kB / 3.103 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/7.562, allocations: 117.1 kB / 3.103 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/7.562, allocations: 31.78 kB / 3.103 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/7.562, allocations: 10.25 kB / 3.103 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008833/7.563, allocations: 1.368 MB / 3.105 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/7.563, allocations: 3.5 kB / 3.105 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/7.564, allocations: 1.102 MB / 3.106 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/7.565, allocations: 214.5 kB / 3.106 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.303e-05/7.565, allocations: 10.98 kB / 3.106 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/7.565, allocations: 54.59 kB / 3.106 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/7.565, allocations: 40.23 kB / 3.106 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/7.566, allocations: 26.66 kB / 3.106 GB, free: 139.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004503/7.566, allocations: 402.5 kB / 3.106 GB, free: 139.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.566, allocations: 2.812 kB / 3.106 GB, free: 139.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00128/7.567, allocations: 353.9 kB / 3.107 GB, free: 139.6 MB / 0.698 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 () * 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.002842/7.57, allocations: 3.855 MB / 3.11 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009297/7.571, allocations: 0.6937 MB / 3.111 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/7.571, allocations: 0 / 3.111 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/7.571, allocations: 353.2 kB / 3.111 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/7.574, allocations: 451.6 kB / 3.112 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/7.576, allocations: 1.527 MB / 3.113 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/7.577, allocations: 1.101 MB / 3.114 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007478/7.577, allocations: 194.5 kB / 3.115 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/7.578, allocations: 337.9 kB / 3.115 GB, free: 135.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/7.578, allocations: 0 / 3.115 GB, free: 135.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05771/7.636, allocations: 31.18 MB / 3.145 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/7.636, allocations: 208.4 kB / 3.146 GB, free: 135 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/10.67, allocations: 1.688 kB / 3.146 GB, free: 135 MB / 0.698 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)