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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8762/0.8762, allocations: 143.3 MB / 158.3 MB, free: 5.758 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.001603/0.001603, allocations: 185 kB / 191.5 MB, free: 5.742 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.581/1.581, allocations: 223.2 MB / 447.7 MB, free: 6.523 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.000956/0.000956, allocations: 99.64 kB / 0.5187 GB, free: 2.883 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 281.8 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005709/0.0005709, allocations: 16 kB / 0.6929 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4931, allocations: 82.78 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.626/6.119, allocations: 1.883 GB / 2.657 GB, free: 102.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/6.119, allocations: 89.83 kB / 2.657 GB, free: 102.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.207/9.326, allocations: 0.7584 GB / 3.415 GB, free: 118.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/9.326, allocations: 3.5 kB / 3.415 GB, free: 118.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000196/9.327, allocations: 44.78 kB / 3.415 GB, free: 118.5 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.006057/9.333, allocations: 1.727 MB / 3.417 GB, free: 117.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/9.333, allocations: 7.562 kB / 3.417 GB, free: 117.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008623/9.334, allocations: 174.1 kB / 3.417 GB, free: 117.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/9.338, allocations: 478.8 kB / 3.417 GB, free: 117.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/9.341, allocations: 1.086 MB / 3.418 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/9.342, allocations: 83.48 kB / 3.419 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/9.342, allocations: 116.1 kB / 3.419 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/9.345, allocations: 1.216 MB / 3.42 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/9.345, allocations: 2.938 kB / 3.42 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/9.345, allocations: 55.7 kB / 3.42 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/9.345, allocations: 38.7 kB / 3.42 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/9.347, allocations: 1.012 MB / 3.421 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008552/9.356, allocations: 4.51 MB / 3.425 GB, free: 115.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009189/9.357, allocations: 0.6256 MB / 3.426 GB, free: 115.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/9.357, allocations: 294.2 kB / 3.426 GB, free: 114.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/9.357, allocations: 53.42 kB / 3.426 GB, free: 114.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.715e-06/9.357, allocations: 0 / 3.426 GB, free: 114.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.003109/9.361, allocations: 1.313 MB / 3.428 GB, free: 114.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/9.361, allocations: 59.03 kB / 3.428 GB, free: 114.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/9.362, allocations: 0.9093 MB / 3.429 GB, free: 113.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/9.362, allocations: 41.39 kB / 3.429 GB, free: 113.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/9.363, allocations: 0.5789 MB / 3.429 GB, free: 113.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/9.363, allocations: 233 kB / 3.429 GB, free: 113.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/9.363, allocations: 18.62 kB / 3.429 GB, free: 113.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/9.363, allocations: 340.2 kB / 3.43 GB, free: 112.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/9.363, allocations: 303.1 kB / 3.43 GB, free: 112.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/9.364, allocations: 0.5131 MB / 3.43 GB, free: 112.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/9.365, allocations: 386.8 kB / 3.431 GB, free: 112.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/9.365, allocations: 0 / 3.431 GB, free: 112.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001511/9.366, allocations: 0.9645 MB / 3.432 GB, free: 111.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/9.366, allocations: 10.5 kB / 3.432 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/9.366, allocations: 3.719 kB / 3.432 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/9.366, allocations: 7.75 kB / 3.432 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/9.367, allocations: 171.2 kB / 3.432 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/9.367, allocations: 7.812 kB / 3.432 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/9.369, allocations: 130.3 kB / 3.432 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/9.369, allocations: 37.69 kB / 3.432 GB, free: 111.6 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 () * 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.000825/9.37, allocations: 369.5 kB / 3.432 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/9.37, allocations: 119.7 kB / 3.433 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/9.37, allocations: 139.5 kB / 3.433 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/9.37, allocations: 9.875 kB / 3.433 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/9.37, allocations: 3.812 kB / 3.433 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/9.372, allocations: 0.9316 MB / 3.434 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/9.376, allocations: 2.293 MB / 3.436 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/9.376, allocations: 3.406 kB / 3.436 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/9.377, allocations: 126.7 kB / 3.436 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/9.377, allocations: 90.56 kB / 3.436 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/9.378, allocations: 22.92 kB / 3.436 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/9.38, allocations: 2.892 MB / 3.439 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/9.38, allocations: 7.875 kB / 3.439 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/9.382, allocations: 1.593 MB / 3.441 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/9.383, allocations: 303.4 kB / 3.441 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/9.384, allocations: 16 kB / 3.441 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/9.385, allocations: 70.77 kB / 3.441 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/9.385, allocations: 51.83 kB / 3.441 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/9.385, allocations: 35.92 kB / 3.441 GB, free: 104.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001545/9.387, allocations: 0.7279 MB / 3.442 GB, free: 103.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/9.387, allocations: 4 kB / 3.442 GB, free: 103.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002591/9.39, allocations: 0.5532 MB / 3.442 GB, free: 103.2 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 () * 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.005938/9.395, allocations: 4.625 MB / 3.447 GB, free: 98.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001387/9.397, allocations: 0.7131 MB / 3.447 GB, free: 98.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/9.397, allocations: 4 kB / 3.447 GB, free: 98.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009388/9.398, allocations: 0.5777 MB / 3.448 GB, free: 97.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/9.403, allocations: 0.8329 MB / 3.449 GB, free: 96.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/9.416, allocations: 10.6 MB / 3.459 GB, free: 85.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/9.417, allocations: 1.256 MB / 3.46 GB, free: 84.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001635/9.419, allocations: 327.5 kB / 3.461 GB, free: 84.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/9.419, allocations: 459.3 kB / 3.461 GB, free: 83.88 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/9.419, allocations: 0 / 3.461 GB, free: 83.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09356/9.513, allocations: 61.37 MB / 3.521 GB, free: 23.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/9.513, allocations: 264.4 kB / 3.521 GB, free: 23.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.134/13.65, allocations: 3.938 kB / 3.521 GB, free: 23.03 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)