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.82/0.82, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001299/0.001299, allocations: 168.9 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.512/1.512, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001097/0.001097, allocations: 92.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 275.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.036e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4958, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.334/5.83, allocations: 1.882 GB / 2.639 GB, free: 136.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/5.831, allocations: 93.06 kB / 2.639 GB, free: 136.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.075/8.905, allocations: 0.7487 GB / 3.388 GB, free: 124.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/8.905, allocations: 0 / 3.388 GB, free: 124.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001853/8.906, allocations: 40.31 kB / 3.388 GB, free: 124.8 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004529/8.91, allocations: 1.542 MB / 3.39 GB, free: 124.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/8.91, allocations: 7.938 kB / 3.39 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/8.914, allocations: 476.7 kB / 3.39 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/8.916, allocations: 1.072 MB / 3.391 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/8.916, allocations: 36.47 kB / 3.391 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/8.917, allocations: 67.06 kB / 3.391 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/8.919, allocations: 0.9363 MB / 3.392 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/8.921, allocations: 1.037 MB / 3.393 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/8.921, allocations: 12.81 kB / 3.393 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/8.921, allocations: 2.281 kB / 3.393 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/8.921, allocations: 40.8 kB / 3.393 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006421/8.928, allocations: 4.255 MB / 3.398 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/8.928, allocations: 0.5917 MB / 3.398 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/8.929, allocations: 379.6 kB / 3.398 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/8.929, allocations: 287.7 kB / 3.399 GB, free: 121.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/8.929, allocations: 49.52 kB / 3.399 GB, free: 121.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.005e-06/8.929, allocations: 0 / 3.399 GB, free: 121.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.001937/8.931, allocations: 0.7881 MB / 3.4 GB, free: 121.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/8.931, allocations: 68.02 kB / 3.4 GB, free: 121.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/8.932, allocations: 0.6397 MB / 3.4 GB, free: 121.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/8.932, allocations: 25.7 kB / 3.4 GB, free: 121.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/8.933, allocations: 0.5937 MB / 3.401 GB, free: 121.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/8.933, allocations: 229.8 kB / 3.401 GB, free: 121 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/8.933, allocations: 0 / 3.401 GB, free: 121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/8.933, allocations: 337.9 kB / 3.401 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/8.933, allocations: 283 kB / 3.402 GB, free: 120.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/8.934, allocations: 496.1 kB / 3.402 GB, free: 120.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/8.934, allocations: 369.4 kB / 3.402 GB, free: 120.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/8.934, allocations: 0 / 3.402 GB, free: 120.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001143/8.935, allocations: 0.8619 MB / 3.403 GB, free: 120.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/8.935, allocations: 6.375 kB / 3.403 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/8.935, allocations: 7 kB / 3.403 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/8.935, allocations: 7.812 kB / 3.403 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/8.936, allocations: 164.3 kB / 3.404 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/8.936, allocations: 14.31 kB / 3.404 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/8.937, allocations: 83.23 kB / 3.404 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/8.937, allocations: 34.69 kB / 3.404 GB, free: 120.3 MB / 0.698 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.0001886/8.937, allocations: 126.9 kB / 3.404 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/8.938, allocations: 107.2 kB / 3.404 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/8.938, allocations: 113.5 kB / 3.404 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/8.938, allocations: 8.688 kB / 3.404 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/8.938, allocations: 0 / 3.404 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009813/8.939, allocations: 0.8865 MB / 3.405 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/8.943, allocations: 2.094 MB / 3.407 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/8.943, allocations: 6.625 kB / 3.407 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/8.943, allocations: 126.4 kB / 3.407 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/8.944, allocations: 89.28 kB / 3.407 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/8.944, allocations: 12.66 kB / 3.407 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/8.946, allocations: 2.801 MB / 3.41 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/8.946, allocations: 16.42 kB / 3.41 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/8.948, allocations: 1.479 MB / 3.411 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000631/8.949, allocations: 272.7 kB / 3.412 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/8.949, allocations: 12.58 kB / 3.412 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/8.95, allocations: 54.62 kB / 3.412 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/8.95, allocations: 54.78 kB / 3.412 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/8.95, allocations: 32.12 kB / 3.412 GB, free: 116.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007031/8.951, allocations: 494.2 kB / 3.412 GB, free: 116.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/8.951, allocations: 3.062 kB / 3.412 GB, free: 116.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001874/8.953, allocations: 0.5153 MB / 3.413 GB, free: 116.1 MB / 0.698 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.002541/8.955, allocations: 1.86 MB / 3.414 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001039/8.956, allocations: 0.6616 MB / 3.415 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/8.956, allocations: 0 / 3.415 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/8.957, allocations: 0.5446 MB / 3.416 GB, free: 115.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/8.96, allocations: 0.6267 MB / 3.416 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/8.964, allocations: 1.952 MB / 3.418 GB, free: 114.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009288/8.965, allocations: 1.256 MB / 3.419 GB, free: 114 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001408/8.966, allocations: 292.9 kB / 3.42 GB, free: 114 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/8.967, allocations: 77.52 kB / 3.42 GB, free: 114 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/8.967, allocations: 0 / 3.42 GB, free: 114 MB / 0.698 GB Notification: Performance of Templates: time 0.04176/9.009, allocations: 28.64 MB / 3.448 GB, free: 112.2 MB / 0.698 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)