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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8534/0.8534, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.4 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 426.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008083/0.0008082, allocations: 82.36 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001936/0.001936, allocations: 255 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000585/0.0005854, allocations: 24 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5099, allocations: 79.28 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.489/5.999, allocations: 2.044 GB / 2.783 GB, free: 246.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/6, allocations: 96.92 kB / 2.783 GB, free: 246.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.304/7.304, allocations: 457.6 MB / 3.23 GB, free: 56.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.913e-06/7.304, allocations: 0 / 3.23 GB, free: 56.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001125/7.304, allocations: 35.92 kB / 3.23 GB, free: 56.11 MB / 0.6823 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.003519/7.308, allocations: 1.365 MB / 3.232 GB, free: 54.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/7.308, allocations: 11.97 kB / 3.232 GB, free: 54.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/7.31, allocations: 311.2 kB / 3.232 GB, free: 54.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/7.312, allocations: 0.8481 MB / 3.233 GB, free: 53.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/7.312, allocations: 71.12 kB / 3.233 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/7.312, allocations: 91.94 kB / 3.233 GB, free: 53.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/7.314, allocations: 0.9936 MB / 3.234 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/7.314, allocations: 0 / 3.234 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/7.314, allocations: 36 kB / 3.234 GB, free: 52.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/7.314, allocations: 37.98 kB / 3.234 GB, free: 52.24 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/7.316, allocations: 0.8081 MB / 3.235 GB, free: 51.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/7.321, allocations: 3.481 MB / 3.238 GB, free: 47.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/7.322, allocations: 0.5073 MB / 3.239 GB, free: 47.22 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/7.322, allocations: 294 kB / 3.239 GB, free: 46.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/7.323, allocations: 105.5 kB / 3.239 GB, free: 46.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/7.323, allocations: 39 kB / 3.239 GB, free: 46.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.116e-06/7.323, allocations: 0 / 3.239 GB, free: 46.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=50): time 0.003712/7.326, allocations: 1.852 MB / 3.241 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/7.326, allocations: 59.84 kB / 3.241 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/7.327, allocations: 0.7901 MB / 3.242 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/7.328, allocations: 41.7 kB / 3.242 GB, free: 43.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/7.328, allocations: 475.3 kB / 3.242 GB, free: 43.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/7.328, allocations: 173.5 kB / 3.242 GB, free: 43.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/7.328, allocations: 12 kB / 3.242 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/7.328, allocations: 326 kB / 3.243 GB, free: 42.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/7.328, allocations: 241.2 kB / 3.243 GB, free: 42.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/7.329, allocations: 394.3 kB / 3.243 GB, free: 42.25 MB / 0.6823 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.003131/7.332, allocations: 1.532 MB / 3.245 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/7.332, allocations: 4 kB / 3.245 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001206/7.333, allocations: 0.7809 MB / 3.246 GB, free: 39.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/7.333, allocations: 4 kB / 3.246 GB, free: 39.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/7.333, allocations: 4 kB / 3.246 GB, free: 39.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/7.333, allocations: 61.67 kB / 3.246 GB, free: 39.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/7.334, allocations: 135.8 kB / 3.246 GB, free: 39.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/7.336, allocations: 2.783 MB / 3.249 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/7.337, allocations: 67.95 kB / 3.249 GB, free: 36.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/7.337, allocations: 24 kB / 3.249 GB, free: 36.5 MB / 0.6823 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 (72): * Single equations (assignments): 70 * 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.0005959/7.338, allocations: 297.6 kB / 3.249 GB, free: 36.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/7.338, allocations: 94.88 kB / 3.249 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/7.339, allocations: 0.6469 MB / 3.25 GB, free: 35.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/7.339, allocations: 7.938 kB / 3.25 GB, free: 35.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/7.339, allocations: 0 / 3.25 GB, free: 35.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000817/7.34, allocations: 0.8309 MB / 3.25 GB, free: 34.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/7.343, allocations: 1.731 MB / 3.252 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/7.343, allocations: 7.938 kB / 3.252 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/7.343, allocations: 119.8 kB / 3.252 GB, free: 32.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.516e-05/7.343, allocations: 36.84 kB / 3.252 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/7.343, allocations: 20.34 kB / 3.252 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000819/7.344, allocations: 1.425 MB / 3.254 GB, free: 30.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/7.344, allocations: 4 kB / 3.254 GB, free: 30.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/7.346, allocations: 1.069 MB / 3.255 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/7.346, allocations: 236 kB / 3.255 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/7.346, allocations: 12 kB / 3.255 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/7.347, allocations: 59.92 kB / 3.255 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/7.347, allocations: 47.83 kB / 3.255 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/7.347, allocations: 31.98 kB / 3.255 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007584/7.348, allocations: 0.5497 MB / 3.256 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.348, allocations: 0 / 3.256 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001457/7.35, allocations: 403.9 kB / 3.256 GB, free: 28.47 MB / 0.6823 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 (48): * Single equations (assignments): 47 * 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.001829/7.351, allocations: 1.301 MB / 3.257 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001384/7.353, allocations: 0.7907 MB / 3.258 GB, free: 26.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/7.353, allocations: 4 kB / 3.258 GB, free: 26.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005075/7.353, allocations: 394.3 kB / 3.258 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/7.357, allocations: 0.569 MB / 3.259 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/7.36, allocations: 2.225 MB / 3.261 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/7.361, allocations: 1.08 MB / 3.262 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001095/7.362, allocations: 223.6 kB / 3.262 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/7.362, allocations: 79.42 kB / 3.263 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/7.362, allocations: 0 / 3.263 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.3876/7.75, allocations: 34.13 MB / 3.296 GB, free: 143.3 MB / 0.6823 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)