Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7785/0.7785, 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.001058/0.001058, allocations: 183.8 kB / 187.3 MB, free: 11.88 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.608/1.608, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009162/0.0009163, allocations: 99.58 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 284.4 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.427e-05/4.431e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4486, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.761/5.209, allocations: 1.883 GB / 2.647 GB, free: 164.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/5.21, allocations: 85.92 kB / 2.647 GB, free: 164.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.124/8.334, allocations: 0.7578 GB / 3.405 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/8.334, allocations: 0 / 3.405 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001503/8.334, allocations: 43.33 kB / 3.405 GB, free: 130.9 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004576/8.339, allocations: 1.532 MB / 3.406 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/8.339, allocations: 10.56 kB / 3.406 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/8.342, allocations: 483.5 kB / 3.407 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/8.345, allocations: 1.072 MB / 3.408 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/8.345, allocations: 86.23 kB / 3.408 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/8.345, allocations: 115.2 kB / 3.408 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/8.347, allocations: 1.199 MB / 3.409 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/8.347, allocations: 0 / 3.409 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/8.347, allocations: 46.12 kB / 3.409 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/8.347, allocations: 39.91 kB / 3.409 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/8.35, allocations: 0.9957 MB / 3.41 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/8.361, allocations: 4.507 MB / 3.415 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/8.363, allocations: 0.6247 MB / 3.415 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/8.364, allocations: 396.8 kB / 3.416 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/8.364, allocations: 294 kB / 3.416 GB, free: 127.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/8.364, allocations: 48.16 kB / 3.416 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 4.138e-06/8.364, allocations: 0 / 3.416 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.003387/8.368, allocations: 0.8353 MB / 3.417 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/8.368, allocations: 60.94 kB / 3.417 GB, free: 127.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/8.37, allocations: 0.893 MB / 3.418 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/8.37, allocations: 40.67 kB / 3.418 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/8.371, allocations: 0.5796 MB / 3.418 GB, free: 127.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/8.371, allocations: 238.4 kB / 3.419 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/8.371, allocations: 21.41 kB / 3.419 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001261/8.371, allocations: 335 kB / 3.419 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/8.372, allocations: 296.5 kB / 3.419 GB, free: 126.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/8.373, allocations: 0.5035 MB / 3.42 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/8.374, allocations: 388.2 kB / 3.42 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/8.374, allocations: 3.906 kB / 3.42 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002572/8.377, allocations: 0.9542 MB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/8.377, allocations: 7.062 kB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/8.377, allocations: 6.094 kB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/8.377, allocations: 11 kB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/8.378, allocations: 165.8 kB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/8.378, allocations: 10.88 kB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/8.38, allocations: 129.4 kB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/8.381, allocations: 34.09 kB / 3.421 GB, free: 126.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0002837/8.381, allocations: 156.1 kB / 3.422 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/8.381, allocations: 130.5 kB / 3.422 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/8.382, allocations: 134.5 kB / 3.422 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/8.382, allocations: 9.938 kB / 3.422 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.166e-05/8.382, allocations: 3.312 kB / 3.422 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001937/8.384, allocations: 0.9207 MB / 3.423 GB, free: 125.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/8.39, allocations: 2.285 MB / 3.425 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/8.39, allocations: 3.812 kB / 3.425 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/8.391, allocations: 127.8 kB / 3.425 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/8.392, allocations: 92.42 kB / 3.425 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.38e-05/8.392, allocations: 24.28 kB / 3.425 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/8.395, allocations: 2.861 MB / 3.428 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/8.395, allocations: 6.125 kB / 3.428 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/8.398, allocations: 1.585 MB / 3.43 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/8.4, allocations: 293.4 kB / 3.43 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/8.4, allocations: 24.8 kB / 3.43 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/8.402, allocations: 63.64 kB / 3.43 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/8.402, allocations: 53.89 kB / 3.43 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/8.402, allocations: 33.7 kB / 3.43 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001636/8.404, allocations: 0.7165 MB / 3.431 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/8.404, allocations: 0 / 3.431 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002805/8.406, allocations: 0.5602 MB / 3.431 GB, free: 122 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003665/8.41, allocations: 1.671 MB / 3.433 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001848/8.412, allocations: 0.7043 MB / 3.434 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/8.412, allocations: 0 / 3.434 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/8.413, allocations: 0.5678 MB / 3.434 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006982/8.42, allocations: 0.8294 MB / 3.435 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/8.425, allocations: 2.035 MB / 3.437 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009042/8.426, allocations: 1.254 MB / 3.438 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002181/8.429, allocations: 332.2 kB / 3.438 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/8.429, allocations: 91.19 kB / 3.439 GB, free: 120 MB / 0.7136 GB Notification: Performance of SimCode: time 1.133e-06/8.429, allocations: 2.438 kB / 3.439 GB, free: 120 MB / 0.7136 GB Notification: Performance of Templates: time 0.06928/8.498, allocations: 48.86 MB / 3.486 GB, free: 116 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)