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.9148/0.9148, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001367/0.001368, allocations: 184.6 kB / 182.2 MB, free: 9.457 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.439/1.439, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.001038/0.001038, allocations: 96.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 281.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.192e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.456, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.745/5.201, allocations: 1.879 GB / 2.636 GB, free: 140 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/5.201, allocations: 90.64 kB / 2.636 GB, free: 140 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/7.165, allocations: 458.5 MB / 3.084 GB, free: 153.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/7.165, allocations: 2.219 kB / 3.084 GB, free: 153.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.674e-05/7.165, allocations: 24.28 kB / 3.084 GB, free: 153.4 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.002653/7.168, allocations: 1.248 MB / 3.085 GB, free: 152.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/7.168, allocations: 7.625 kB / 3.085 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/7.17, allocations: 308.5 kB / 3.086 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/7.171, allocations: 0.8234 MB / 3.087 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/7.171, allocations: 33.19 kB / 3.087 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/7.172, allocations: 49.5 kB / 3.087 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001159/7.173, allocations: 0.7157 MB / 3.087 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/7.174, allocations: 0.8189 MB / 3.088 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/7.174, allocations: 3.609 kB / 3.088 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/7.174, allocations: 3.719 kB / 3.088 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/7.174, allocations: 36.66 kB / 3.088 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/7.179, allocations: 3.257 MB / 3.091 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/7.179, allocations: 443.2 kB / 3.092 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/7.18, allocations: 249.1 kB / 3.092 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/7.18, allocations: 102.7 kB / 3.092 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/7.18, allocations: 44.12 kB / 3.092 GB, free: 151.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/7.18, allocations: 3.656 kB / 3.092 GB, free: 151.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.00259/7.182, allocations: 1.298 MB / 3.093 GB, free: 150.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/7.182, allocations: 55.75 kB / 3.093 GB, free: 150.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/7.183, allocations: 0.5231 MB / 3.094 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/7.183, allocations: 25.7 kB / 3.094 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/7.183, allocations: 492.6 kB / 3.094 GB, free: 150.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/7.184, allocations: 166.9 kB / 3.095 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/7.184, allocations: 1.5 kB / 3.095 GB, free: 150.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000149/7.184, allocations: 380.5 kB / 3.095 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/7.184, allocations: 206.8 kB / 3.095 GB, free: 149.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/7.184, allocations: 344.1 kB / 3.096 GB, free: 149.7 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.00249/7.187, allocations: 0.9042 MB / 3.096 GB, free: 149.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/7.187, allocations: 0 / 3.096 GB, free: 149.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001024/7.188, allocations: 0.6708 MB / 3.097 GB, free: 149.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/7.188, allocations: 6.5 kB / 3.097 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/7.188, allocations: 3.344 kB / 3.097 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/7.188, allocations: 65.44 kB / 3.097 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/7.189, allocations: 138.5 kB / 3.097 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/7.191, allocations: 2.662 MB / 3.1 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008752/7.192, allocations: 47.12 kB / 3.1 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/7.192, allocations: 33.11 kB / 3.1 GB, free: 147.1 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.000178/7.192, allocations: 118.9 kB / 3.1 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/7.192, allocations: 72.53 kB / 3.1 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/7.192, allocations: 79.83 kB / 3.1 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/7.192, allocations: 7.219 kB / 3.1 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/7.192, allocations: 3.953 kB / 3.1 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007265/7.193, allocations: 0.7601 MB / 3.101 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/7.195, allocations: 1.53 MB / 3.102 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/7.195, allocations: 3.906 kB / 3.102 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/7.196, allocations: 118.8 kB / 3.103 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/7.196, allocations: 36.14 kB / 3.103 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/7.196, allocations: 11.3 kB / 3.103 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008442/7.197, allocations: 1.373 MB / 3.104 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/7.197, allocations: 6.719 kB / 3.104 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/7.198, allocations: 1.095 MB / 3.105 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/7.198, allocations: 220.3 kB / 3.105 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/7.198, allocations: 7.094 kB / 3.105 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/7.199, allocations: 48.12 kB / 3.105 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/7.199, allocations: 42.75 kB / 3.105 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/7.199, allocations: 29.11 kB / 3.105 GB, free: 144.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000465/7.2, allocations: 403.6 kB / 3.106 GB, free: 144.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/7.2, allocations: 2.812 kB / 3.106 GB, free: 144.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001341/7.201, allocations: 349.3 kB / 3.106 GB, free: 144.1 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.001932/7.203, allocations: 1.428 MB / 3.107 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001014/7.204, allocations: 0.6913 MB / 3.108 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/7.204, allocations: 3.719 kB / 3.108 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/7.205, allocations: 349.8 kB / 3.108 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/7.207, allocations: 461.8 kB / 3.109 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/7.209, allocations: 1.309 MB / 3.11 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/7.209, allocations: 1.102 MB / 3.111 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008002/7.21, allocations: 189.9 kB / 3.111 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/7.21, allocations: 60.91 kB / 3.112 GB, free: 142.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/7.21, allocations: 0 / 3.112 GB, free: 142.3 MB / 0.698 GB Notification: Performance of Templates: time 0.03363/7.244, allocations: 21.66 MB / 3.133 GB, free: 141.4 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)