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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8018/0.8018, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001097/0.001098, allocations: 184.7 kB / 187.3 MB, free: 11.89 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.472/1.472, 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.001036/0.001036, allocations: 93.14 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 276.4 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.613e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5069, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.669/5.176, allocations: 1.88 GB / 2.644 GB, free: 168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/5.176, allocations: 98.03 kB / 2.644 GB, free: 167.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.86/7.036, allocations: 463.9 MB / 3.097 GB, free: 146.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/7.036, allocations: 0 / 3.097 GB, free: 146.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.446e-05/7.036, allocations: 28.22 kB / 3.097 GB, free: 146.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.002317/7.039, allocations: 1.238 MB / 3.098 GB, free: 146.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/7.039, allocations: 11.44 kB / 3.098 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/7.04, allocations: 302.5 kB / 3.099 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/7.042, allocations: 0.8253 MB / 3.099 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/7.042, allocations: 71.47 kB / 3.099 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/7.042, allocations: 90.19 kB / 3.1 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/7.044, allocations: 0.9508 MB / 3.1 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/7.044, allocations: 0 / 3.1 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.002e-05/7.044, allocations: 36.69 kB / 3.1 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/7.044, allocations: 34.23 kB / 3.101 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/7.045, allocations: 0.7577 MB / 3.101 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/7.05, allocations: 3.466 MB / 3.105 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/7.05, allocations: 458.9 kB / 3.105 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/7.051, allocations: 264.5 kB / 3.105 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/7.051, allocations: 104.9 kB / 3.105 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/7.051, allocations: 42.84 kB / 3.105 GB, free: 144.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/7.051, allocations: 0 / 3.105 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002677/7.054, allocations: 1.395 MB / 3.107 GB, free: 144.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/7.054, allocations: 55.69 kB / 3.107 GB, free: 144 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008598/7.055, allocations: 0.6941 MB / 3.108 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/7.055, allocations: 38.05 kB / 3.108 GB, free: 143.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/7.055, allocations: 474.6 kB / 3.108 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/7.055, allocations: 171.7 kB / 3.108 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/7.055, allocations: 14.44 kB / 3.108 GB, free: 143.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/7.055, allocations: 339.3 kB / 3.109 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/7.056, allocations: 219.3 kB / 3.109 GB, free: 143.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/7.056, allocations: 359.2 kB / 3.109 GB, free: 143.1 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.002614/7.059, allocations: 0.9274 MB / 3.11 GB, free: 143 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/7.059, allocations: 0 / 3.11 GB, free: 143 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001178/7.06, allocations: 0.7397 MB / 3.111 GB, free: 142.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/7.06, allocations: 7.797 kB / 3.111 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/7.06, allocations: 3.719 kB / 3.111 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/7.06, allocations: 62.67 kB / 3.111 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/7.061, allocations: 136.7 kB / 3.111 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/7.063, allocations: 2.761 MB / 3.114 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/7.064, allocations: 59.48 kB / 3.114 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/7.064, allocations: 27.95 kB / 3.114 GB, free: 140.4 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.0001811/7.064, allocations: 141.6 kB / 3.114 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/7.064, allocations: 93.89 kB / 3.114 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/7.064, allocations: 96.33 kB / 3.114 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/7.064, allocations: 6.438 kB / 3.114 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/7.064, allocations: 0 / 3.114 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000779/7.065, allocations: 0.7873 MB / 3.115 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/7.068, allocations: 1.693 MB / 3.116 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/7.068, allocations: 3.906 kB / 3.116 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/7.068, allocations: 113.2 kB / 3.117 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-05/7.068, allocations: 38.58 kB / 3.117 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/7.068, allocations: 17.81 kB / 3.117 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008229/7.069, allocations: 1.411 MB / 3.118 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/7.069, allocations: 9.641 kB / 3.118 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/7.07, allocations: 1.152 MB / 3.119 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/7.071, allocations: 228 kB / 3.119 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/7.071, allocations: 19.14 kB / 3.119 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/7.072, allocations: 64.8 kB / 3.119 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/7.072, allocations: 40.92 kB / 3.119 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/7.072, allocations: 30.23 kB / 3.119 GB, free: 137.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006616/7.072, allocations: 0.5414 MB / 3.12 GB, free: 137.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/7.072, allocations: 0 / 3.12 GB, free: 137.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001394/7.074, allocations: 389 kB / 3.12 GB, free: 137.3 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.001971/7.076, allocations: 1.283 MB / 3.122 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001085/7.077, allocations: 0.7296 MB / 3.122 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/7.077, allocations: 1.781 kB / 3.122 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/7.077, allocations: 376.8 kB / 3.123 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/7.08, allocations: 0.569 MB / 3.123 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/7.083, allocations: 1.361 MB / 3.125 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/7.084, allocations: 1.098 MB / 3.126 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009284/7.085, allocations: 214.2 kB / 3.126 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/7.085, allocations: 64 kB / 3.126 GB, free: 135.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/7.085, allocations: 0.5 kB / 3.126 GB, free: 135.5 MB / 0.698 GB Notification: Performance of Templates: time 0.05865/7.144, allocations: 36.75 MB / 3.162 GB, free: 134.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)