Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.818/0.818, 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.001078/0.001078, allocations: 184.9 kB / 182.2 MB, free: 9.453 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.434/1.434, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0008948/0.0008948, allocations: 92.03 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 287.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.222e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5197, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.227/5.747, allocations: 1.877 GB / 2.635 GB, free: 182 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003899/5.747, allocations: 93.09 kB / 2.635 GB, free: 181.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.442/7.189, allocations: 259.4 MB / 2.888 GB, free: 196.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/7.189, allocations: 3.281 kB / 2.888 GB, free: 196.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.332e-05/7.189, allocations: 14.19 kB / 2.888 GB, free: 196.1 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001644/7.191, allocations: 0.7861 MB / 2.889 GB, free: 195.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/7.191, allocations: 10.75 kB / 2.889 GB, free: 195.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/7.193, allocations: 166.6 kB / 2.889 GB, free: 195.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/7.194, allocations: 0.4954 MB / 2.89 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/7.194, allocations: 14.91 kB / 2.89 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/7.194, allocations: 31.38 kB / 2.89 GB, free: 195 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009671/7.195, allocations: 361.7 kB / 2.89 GB, free: 194.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/7.196, allocations: 440.1 kB / 2.89 GB, free: 194.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/7.196, allocations: 1.375 kB / 2.89 GB, free: 194.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/7.196, allocations: 3.844 kB / 2.89 GB, free: 194.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/7.196, allocations: 20.73 kB / 2.891 GB, free: 194.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/7.2, allocations: 1.749 MB / 2.892 GB, free: 193.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/7.2, allocations: 204.7 kB / 2.892 GB, free: 193.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/7.2, allocations: 136.6 kB / 2.893 GB, free: 193.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/7.201, allocations: 103.2 kB / 2.893 GB, free: 193 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/7.201, allocations: 36.44 kB / 2.893 GB, free: 192.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.156e-06/7.201, allocations: 0 / 2.893 GB, free: 192.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008953/7.202, allocations: 272.8 kB / 2.893 GB, free: 192.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/7.202, allocations: 58.5 kB / 2.893 GB, free: 192.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/7.202, allocations: 329.2 kB / 2.893 GB, free: 192.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/7.202, allocations: 25.7 kB / 2.893 GB, free: 192.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/7.202, allocations: 283.6 kB / 2.894 GB, free: 192.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.86e-05/7.203, allocations: 82.75 kB / 2.894 GB, free: 192 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/7.203, allocations: 0 / 2.894 GB, free: 192 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001174/7.203, allocations: 353.4 kB / 2.894 GB, free: 191.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/7.203, allocations: 104.6 kB / 2.894 GB, free: 191.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/7.203, allocations: 194.6 kB / 2.894 GB, free: 191.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/7.203, allocations: 147.4 kB / 2.894 GB, free: 191.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/7.203, allocations: 0 / 2.894 GB, free: 191.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006333/7.204, allocations: 356.5 kB / 2.895 GB, free: 190.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/7.204, allocations: 4 kB / 2.895 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/7.204, allocations: 7.953 kB / 2.895 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/7.204, allocations: 4 kB / 2.895 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/7.205, allocations: 67.91 kB / 2.895 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/7.205, allocations: 4 kB / 2.895 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/7.205, allocations: 35.14 kB / 2.895 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/7.205, allocations: 12 kB / 2.895 GB, free: 190.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001192/7.205, allocations: 116.9 kB / 2.895 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/7.206, allocations: 39.56 kB / 2.895 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/7.206, allocations: 43.38 kB / 2.895 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/7.206, allocations: 7.453 kB / 2.895 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/7.206, allocations: 0 / 2.895 GB, free: 190.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003933/7.206, allocations: 325.2 kB / 2.895 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/7.208, allocations: 0.8686 MB / 2.896 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/7.208, allocations: 4 kB / 2.896 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/7.208, allocations: 55.91 kB / 2.896 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/7.208, allocations: 4 kB / 2.896 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/7.208, allocations: 0 / 2.896 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/7.208, allocations: 4 kB / 2.896 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/7.208, allocations: 11.41 kB / 2.896 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/7.209, allocations: 0.5918 MB / 2.897 GB, free: 188.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/7.209, allocations: 156 kB / 2.897 GB, free: 188.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/7.209, allocations: 0 / 2.897 GB, free: 188.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/7.21, allocations: 27.81 kB / 2.897 GB, free: 188.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/7.21, allocations: 22.08 kB / 2.897 GB, free: 188.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/7.21, allocations: 16 kB / 2.897 GB, free: 188.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000299/7.21, allocations: 251 kB / 2.897 GB, free: 188 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/7.21, allocations: 0 / 2.897 GB, free: 188 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001043/7.211, allocations: 211.7 kB / 2.898 GB, free: 187.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001803/7.213, allocations: 1.074 MB / 2.899 GB, free: 186.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005096/7.213, allocations: 256.2 kB / 2.899 GB, free: 186.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/7.213, allocations: 4.062 kB / 2.899 GB, free: 186.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/7.214, allocations: 115.7 kB / 2.899 GB, free: 186.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/7.215, allocations: 239.1 kB / 2.899 GB, free: 186.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/7.217, allocations: 0.7118 MB / 2.9 GB, free: 185.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/7.217, allocations: 0.8857 MB / 2.901 GB, free: 184.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005833/7.218, allocations: 115.1 kB / 2.901 GB, free: 184.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/7.218, allocations: 35.44 kB / 2.901 GB, free: 184.5 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/7.218, allocations: 0 / 2.901 GB, free: 184.5 MB / 0.698 GB Notification: Performance of Templates: time 0.02664/7.245, allocations: 12.69 MB / 2.913 GB, free: 172 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)