Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01183/0.01183, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.146/1.146, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.404/2.404, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001418/0.001418, allocations: 102.6 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006314/0.0006313, allocations: 19.98 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9012/0.9018, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.882/9.784, allocations: 1.912 GB / 2.561 GB, free: 62.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004412/9.785, allocations: 103.9 kB / 2.561 GB, free: 62.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.3/13.09, allocations: 475.9 MB / 3.026 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/13.09, allocations: 0 / 3.026 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001263/13.09, allocations: 35.62 kB / 3.026 GB, free: 115.1 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.007117/13.09, allocations: 1.625 MB / 3.028 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/13.09, allocations: 8.031 kB / 3.028 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003886/13.09, allocations: 119.2 kB / 3.028 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/13.1, allocations: 291.9 kB / 3.028 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/13.1, allocations: 0.8379 MB / 3.029 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/13.1, allocations: 57.45 kB / 3.029 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/13.1, allocations: 70.92 kB / 3.029 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/13.1, allocations: 0.9742 MB / 3.03 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/13.1, allocations: 0 / 3.03 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/13.1, allocations: 23.98 kB / 3.03 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/13.1, allocations: 76.58 kB / 3.03 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/13.1, allocations: 0.9799 MB / 3.031 GB, free: 110 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008421/13.11, allocations: 3.59 MB / 3.035 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/13.11, allocations: 0.6457 MB / 3.035 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/13.11, allocations: 194.8 kB / 3.035 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/13.11, allocations: 43.12 kB / 3.035 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 6.041e-06/13.11, allocations: 4 kB / 3.035 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.002725/13.12, allocations: 1.017 MB / 3.036 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/13.12, allocations: 111.4 kB / 3.036 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/13.12, allocations: 0.7036 MB / 3.037 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/13.12, allocations: 37.7 kB / 3.037 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/13.12, allocations: 420.2 kB / 3.038 GB, free: 103 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/13.12, allocations: 224.8 kB / 3.038 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/13.12, allocations: 12 kB / 3.038 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001376/13.12, allocations: 334 kB / 3.038 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/13.12, allocations: 317.8 kB / 3.038 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007921/13.12, allocations: 461.5 kB / 3.039 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/13.12, allocations: 379.7 kB / 3.039 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/13.12, allocations: 7.953 kB / 3.039 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002019/13.12, allocations: 0.8943 MB / 3.04 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/13.12, allocations: 0.698 MB / 3.041 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/13.12, allocations: 8 kB / 3.041 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.001e-05/13.12, allocations: 4.094 kB / 3.041 GB, free: 99.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/13.12, allocations: 151.8 kB / 3.041 GB, free: 99.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/13.12, allocations: 7.938 kB / 3.041 GB, free: 99.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/13.13, allocations: 107.1 kB / 3.041 GB, free: 99.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/13.13, allocations: 27.98 kB / 3.041 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/13.13, allocations: 5.25 kB / 3.041 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/13.13, allocations: 0.7493 MB / 3.042 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/13.13, allocations: 4 kB / 3.042 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/13.13, allocations: 4.219 kB / 3.042 GB, free: 98.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/13.13, allocations: 147.8 kB / 3.042 GB, free: 98.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/13.13, allocations: 11.92 kB / 3.042 GB, free: 98.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/13.13, allocations: 95.23 kB / 3.042 GB, free: 98.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/13.13, allocations: 32 kB / 3.042 GB, free: 98.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.0009384/13.13, allocations: 368.9 kB / 3.042 GB, free: 97.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/13.13, allocations: 94.83 kB / 3.043 GB, free: 97.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/13.13, allocations: 0.8056 MB / 3.043 GB, free: 96.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/13.13, allocations: 4 kB / 3.043 GB, free: 96.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/13.13, allocations: 0 / 3.043 GB, free: 96.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/13.14, allocations: 0.7361 MB / 3.044 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005326/13.14, allocations: 2.078 MB / 3.046 GB, free: 93.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/13.14, allocations: 4 kB / 3.046 GB, free: 93.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009516/13.14, allocations: 135.8 kB / 3.046 GB, free: 93.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-05/13.14, allocations: 8 kB / 3.046 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.146e-05/13.14, allocations: 24.39 kB / 3.046 GB, free: 93.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.767e-05/13.14, allocations: 11.94 kB / 3.046 GB, free: 93.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/13.14, allocations: 4 kB / 3.046 GB, free: 93.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/13.14, allocations: 1.563 MB / 3.048 GB, free: 92.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/13.15, allocations: 251.9 kB / 3.048 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/13.15, allocations: 16 kB / 3.048 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/13.15, allocations: 51.86 kB / 3.048 GB, free: 91.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/13.15, allocations: 52.28 kB / 3.048 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/13.15, allocations: 20 kB / 3.048 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001476/13.15, allocations: 0.5537 MB / 3.049 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/13.15, allocations: 4 kB / 3.049 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006039/13.16, allocations: 0.9167 MB / 3.05 GB, free: 90.22 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,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 (64): * Single equations (assignments): 64 * 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.009924/13.17, allocations: 4.718 MB / 3.054 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00317/13.17, allocations: 1.147 MB / 3.055 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/13.17, allocations: 0 / 3.055 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008425/13.17, allocations: 367.8 kB / 3.056 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/13.17, allocations: 0.4973 MB / 3.056 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009044/13.18, allocations: 4.223 MB / 3.06 GB, free: 79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009019/13.18, allocations: 1.101 MB / 3.061 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002283/13.19, allocations: 410.8 kB / 3.062 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/13.19, allocations: 331.3 kB / 3.062 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of SimCode: time 2.745e-06/13.19, allocations: 4 kB / 3.062 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/13.34, allocations: 49.94 MB / 3.111 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/13.34, allocations: 235.5 kB / 3.111 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.015/19.36, allocations: 2.75 kB / 3.111 GB, free: 27.26 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)