Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7921/0.7921, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001139/0.001139, allocations: 169 kB / 182.2 MB, free: 9.469 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.548/1.548, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008934/0.0008935, allocations: 83.56 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 274.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.208e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5245, allocations: 82.76 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/6.264, allocations: 1.876 GB / 2.634 GB, free: 183.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/6.265, allocations: 91.83 kB / 2.634 GB, free: 183.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.094/7.359, allocations: 355.6 MB / 2.981 GB, free: 103.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/7.359, allocations: 3.938 kB / 2.981 GB, free: 103.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.632e-05/7.359, allocations: 23.98 kB / 2.981 GB, free: 103.3 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001543/7.36, allocations: 0.9629 MB / 2.982 GB, free: 102.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/7.36, allocations: 8.031 kB / 2.982 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/7.362, allocations: 266.7 kB / 2.982 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/7.363, allocations: 0.6792 MB / 2.983 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/7.363, allocations: 21.38 kB / 2.983 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/7.363, allocations: 35.91 kB / 2.983 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006798/7.364, allocations: 450.4 kB / 2.984 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/7.365, allocations: 479.8 kB / 2.984 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/7.365, allocations: 7.984 kB / 2.984 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/7.365, allocations: 0 / 2.984 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/7.365, allocations: 25.3 kB / 2.984 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/7.367, allocations: 2.25 MB / 2.986 GB, free: 97.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/7.368, allocations: 371.5 kB / 2.987 GB, free: 97.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/7.368, allocations: 210.5 kB / 2.987 GB, free: 97.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/7.368, allocations: 97.81 kB / 2.987 GB, free: 97.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/7.368, allocations: 38.56 kB / 2.987 GB, free: 97.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 1.784e-06/7.368, allocations: 0 / 2.987 GB, free: 97.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002025/7.37, allocations: 1.17 MB / 2.988 GB, free: 95.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/7.37, allocations: 55.84 kB / 2.988 GB, free: 95.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/7.371, allocations: 377.4 kB / 2.989 GB, free: 95.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/7.371, allocations: 25.7 kB / 2.989 GB, free: 95.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/7.371, allocations: 328.3 kB / 2.989 GB, free: 95.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/7.371, allocations: 165.5 kB / 2.989 GB, free: 94.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/7.371, allocations: 4 kB / 2.989 GB, free: 94.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/7.371, allocations: 370.7 kB / 2.989 GB, free: 94.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/7.371, allocations: 157.1 kB / 2.99 GB, free: 94.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/7.371, allocations: 236.5 kB / 2.99 GB, free: 94.12 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/7.374, allocations: 0.9902 MB / 2.991 GB, free: 93.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/7.374, allocations: 0 / 2.991 GB, free: 93.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005858/7.374, allocations: 487.3 kB / 2.991 GB, free: 92.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/7.374, allocations: 8 kB / 2.991 GB, free: 92.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/7.374, allocations: 0 / 2.991 GB, free: 92.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/7.374, allocations: 4 kB / 2.991 GB, free: 92.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/7.375, allocations: 95.89 kB / 2.991 GB, free: 92.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/7.375, allocations: 4 kB / 2.991 GB, free: 92.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/7.375, allocations: 23.95 kB / 2.991 GB, free: 92.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/7.375, allocations: 16 kB / 2.991 GB, free: 92.46 MB / 0.698 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/7.375, allocations: 125.6 kB / 2.991 GB, free: 92.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/7.376, allocations: 59.34 kB / 2.992 GB, free: 92.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/7.376, allocations: 65.48 kB / 2.992 GB, free: 92.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/7.376, allocations: 4 kB / 2.992 GB, free: 92.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/7.376, allocations: 0 / 2.992 GB, free: 92.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004626/7.376, allocations: 486.9 kB / 2.992 GB, free: 91.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/7.378, allocations: 1.445 MB / 2.993 GB, free: 90.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/7.378, allocations: 8 kB / 2.993 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/7.378, allocations: 119.8 kB / 2.994 GB, free: 90.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/7.378, allocations: 8 kB / 2.994 GB, free: 90.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/7.378, allocations: 8 kB / 2.994 GB, free: 90.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/7.378, allocations: 8 kB / 2.994 GB, free: 90 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/7.379, allocations: 11.92 kB / 2.994 GB, free: 89.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/7.379, allocations: 1.112 MB / 2.995 GB, free: 88.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/7.38, allocations: 188.4 kB / 2.995 GB, free: 88.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/7.38, allocations: 7.984 kB / 2.995 GB, free: 88.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/7.38, allocations: 27.83 kB / 2.995 GB, free: 88.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/7.38, allocations: 47.84 kB / 2.995 GB, free: 88.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/7.38, allocations: 27.98 kB / 2.995 GB, free: 88.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002478/7.381, allocations: 294.9 kB / 2.995 GB, free: 88.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/7.381, allocations: 0 / 2.995 GB, free: 88.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008123/7.381, allocations: 244 kB / 2.995 GB, free: 87.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/7.383, allocations: 1.207 MB / 2.997 GB, free: 86.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005374/7.383, allocations: 388.5 kB / 2.997 GB, free: 86.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/7.383, allocations: 4 kB / 2.997 GB, free: 86.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/7.384, allocations: 212.6 kB / 2.997 GB, free: 86.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/7.385, allocations: 420.8 kB / 2.998 GB, free: 85.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/7.387, allocations: 1.206 MB / 2.999 GB, free: 84.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/7.387, allocations: 0.9882 MB / 3 GB, free: 83.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005781/7.388, allocations: 153.1 kB / 3 GB, free: 83.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/7.388, allocations: 51.44 kB / 3 GB, free: 83.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/7.388, allocations: 0 / 3 GB, free: 83.11 MB / 0.698 GB Notification: Performance of Templates: time 0.02497/7.413, allocations: 17.73 MB / 3.017 GB, free: 65.55 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)