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 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.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.8592/0.8592, allocations: 140.1 MB / 156 MB, free: 5.16 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.001069/0.001069, allocations: 174.3 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.888/1.888, allocations: 205.4 MB / 426.3 MB, free: 8.457 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.0007838/0.0007837, allocations: 86.38 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.001649/0.001649, allocations: 273.1 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 24 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4909, allocations: 79.31 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.449/5.94, allocations: 2.047 GB / 2.786 GB, free: 175.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.94, allocations: 94.39 kB / 2.787 GB, free: 175.1 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.608/8.548, allocations: 0.7474 GB / 3.534 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.036e-06/8.548, allocations: 3.938 kB / 3.534 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002262/8.548, allocations: 34 kB / 3.534 GB, free: 118.8 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005286/8.553, allocations: 1.715 MB / 3.536 GB, free: 118 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/8.553, allocations: 14.34 kB / 3.536 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/8.557, allocations: 484.7 kB / 3.536 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/8.56, allocations: 1.117 MB / 3.537 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/8.561, allocations: 86.52 kB / 3.537 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005045/8.561, allocations: 117.2 kB / 3.537 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/8.564, allocations: 1.229 MB / 3.539 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/8.564, allocations: 3.938 kB / 3.539 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/8.565, allocations: 48.72 kB / 3.539 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/8.565, allocations: 41.27 kB / 3.539 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/8.567, allocations: 1.01 MB / 3.54 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008412/8.575, allocations: 4.526 MB / 3.544 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/8.576, allocations: 0.625 MB / 3.545 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/8.577, allocations: 408 kB / 3.545 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/8.578, allocations: 292.4 kB / 3.545 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/8.578, allocations: 51.44 kB / 3.545 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 4.188e-06/8.578, allocations: 0 / 3.545 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.003893/8.582, allocations: 1.311 MB / 3.547 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/8.582, allocations: 63.12 kB / 3.547 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/8.584, allocations: 1.039 MB / 3.548 GB, free: 115 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/8.584, allocations: 40.17 kB / 3.548 GB, free: 115 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/8.584, allocations: 0.5821 MB / 3.548 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/8.585, allocations: 233.9 kB / 3.549 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/8.585, allocations: 17.25 kB / 3.549 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/8.585, allocations: 333.8 kB / 3.549 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/8.586, allocations: 302.3 kB / 3.549 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/8.587, allocations: 0.5182 MB / 3.55 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/8.588, allocations: 0.8168 MB / 3.551 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/8.588, allocations: 2.438 kB / 3.551 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002356/8.59, allocations: 0.9561 MB / 3.552 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/8.591, allocations: 12.7 kB / 3.552 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/8.591, allocations: 6.688 kB / 3.552 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/8.591, allocations: 7.281 kB / 3.552 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/8.592, allocations: 164.6 kB / 3.552 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/8.592, allocations: 11.66 kB / 3.552 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/8.594, allocations: 137.1 kB / 3.552 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/8.594, allocations: 36.31 kB / 3.552 GB, free: 113.8 MB / 0.6823 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 () * Number of clocked 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.0009248/8.595, allocations: 369.6 kB / 3.552 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/8.596, allocations: 122.2 kB / 3.552 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/8.596, allocations: 136 kB / 3.553 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/8.596, allocations: 11.72 kB / 3.553 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/8.596, allocations: 3.797 kB / 3.553 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001893/8.598, allocations: 0.9358 MB / 3.553 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/8.603, allocations: 2.289 MB / 3.556 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/8.603, allocations: 3.812 kB / 3.556 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/8.604, allocations: 128.1 kB / 3.556 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/8.605, allocations: 91.56 kB / 3.556 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/8.605, allocations: 23.22 kB / 3.556 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/8.608, allocations: 2.87 MB / 3.559 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/8.608, allocations: 3.516 kB / 3.559 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/8.611, allocations: 1.413 MB / 3.56 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/8.612, allocations: 297.2 kB / 3.56 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/8.613, allocations: 18 kB / 3.56 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/8.615, allocations: 73.55 kB / 3.56 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/8.615, allocations: 55.92 kB / 3.561 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/8.615, allocations: 30.34 kB / 3.561 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00179/8.617, allocations: 0.7248 MB / 3.561 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/8.617, allocations: 2.953 kB / 3.561 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002789/8.62, allocations: 0.5627 MB / 3.562 GB, free: 109.5 MB / 0.6823 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 () * Number of clocked 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.003302/8.623, allocations: 1.692 MB / 3.563 GB, free: 109 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001883/8.625, allocations: 0.7146 MB / 3.564 GB, free: 109 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/8.625, allocations: 7.469 kB / 3.564 GB, free: 109 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/8.626, allocations: 0.5745 MB / 3.565 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007627/8.634, allocations: 0.8295 MB / 3.566 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/8.64, allocations: 2.961 MB / 3.568 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/8.641, allocations: 1.235 MB / 3.57 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002529/8.644, allocations: 328.1 kB / 3.57 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/8.644, allocations: 93.28 kB / 3.57 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.011e-06/8.644, allocations: 2.906 kB / 3.57 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.08707/8.732, allocations: 45.36 MB / 3.614 GB, free: 97.09 MB / 0.6823 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)