Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001315/0.001315, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7697/0.7697, allocations: 133.6 MB / 141.6 MB, free: 2.934 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008632/0.0008632, allocations: 100.6 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.522e-05, allocations: 8 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4638, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.001/6.464, allocations: 1.885 GB / 2.519 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/6.465, allocations: 86.62 kB / 2.519 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.067/9.532, allocations: 0.749 GB / 3.268 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.242e-06/9.532, allocations: 1.375 kB / 3.268 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001045/9.532, allocations: 43.14 kB / 3.268 GB, free: 118.4 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.002945/9.535, allocations: 1.551 MB / 3.269 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/9.535, allocations: 10.84 kB / 3.269 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/9.538, allocations: 480.7 kB / 3.27 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/9.541, allocations: 1.108 MB / 3.271 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/9.541, allocations: 36.94 kB / 3.271 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/9.541, allocations: 69.8 kB / 3.271 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001453/9.542, allocations: 0.9326 MB / 3.272 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/9.544, allocations: 1.049 MB / 3.273 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/9.544, allocations: 2.281 kB / 3.273 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/9.544, allocations: 0 / 3.273 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/9.544, allocations: 40.95 kB / 3.273 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005648/9.55, allocations: 3.942 MB / 3.277 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/9.551, allocations: 0.7139 MB / 3.277 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/9.551, allocations: 432.8 kB / 3.278 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/9.552, allocations: 294.4 kB / 3.278 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/9.552, allocations: 45.69 kB / 3.278 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/9.552, allocations: 0 / 3.278 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.004091/9.556, allocations: 2.084 MB / 3.28 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/9.556, allocations: 65.56 kB / 3.28 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/9.556, allocations: 0.5889 MB / 3.281 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/9.556, allocations: 29.39 kB / 3.281 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/9.557, allocations: 0.5457 MB / 3.281 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/9.557, allocations: 302.2 kB / 3.282 GB, free: 114 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/9.557, allocations: 2.812 kB / 3.282 GB, free: 114 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.844e-05/9.557, allocations: 341 kB / 3.282 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/9.558, allocations: 312.8 kB / 3.282 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/9.558, allocations: 473.3 kB / 3.283 GB, free: 113.5 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/9.562, allocations: 2.15 MB / 3.285 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/9.562, allocations: 3.812 kB / 3.285 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001366/9.564, allocations: 0.8898 MB / 3.286 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/9.564, allocations: 3.656 kB / 3.286 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/9.564, allocations: 7.547 kB / 3.286 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/9.564, allocations: 7.188 kB / 3.286 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/9.565, allocations: 179.6 kB / 3.286 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/9.565, allocations: 14.42 kB / 3.286 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/9.566, allocations: 47.2 kB / 3.286 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/9.566, allocations: 36.88 kB / 3.286 GB, free: 113.1 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002195/9.566, allocations: 138.2 kB / 3.286 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001334/9.567, allocations: 0.8522 MB / 3.287 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/9.568, allocations: 111.1 kB / 3.287 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/9.568, allocations: 123.6 kB / 3.287 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/9.568, allocations: 10.59 kB / 3.287 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/9.568, allocations: 0 / 3.287 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/9.569, allocations: 1.003 MB / 3.288 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/9.573, allocations: 2.805 MB / 3.291 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/9.573, allocations: 9.094 kB / 3.291 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/9.574, allocations: 171.8 kB / 3.291 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/9.574, allocations: 104.1 kB / 3.291 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/9.574, allocations: 14.53 kB / 3.291 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/9.576, allocations: 2.8 MB / 3.294 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/9.576, allocations: 14.47 kB / 3.294 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/9.578, allocations: 2.111 MB / 3.296 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/9.579, allocations: 282.2 kB / 3.296 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/9.579, allocations: 22.97 kB / 3.296 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009302/9.58, allocations: 58.2 kB / 3.296 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/9.58, allocations: 84.92 kB / 3.296 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/9.58, allocations: 42.59 kB / 3.296 GB, free: 106 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005867/9.58, allocations: 463.2 kB / 3.297 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/9.581, allocations: 0 / 3.297 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001661/9.582, allocations: 470.3 kB / 3.297 GB, free: 105.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (85): * Single equations (assignments): 83 * 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.004881/9.587, allocations: 7.021 MB / 3.304 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001169/9.588, allocations: 0.7529 MB / 3.305 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/9.588, allocations: 3.844 kB / 3.305 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/9.589, allocations: 0.6109 MB / 3.306 GB, free: 99.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/9.592, allocations: 0.6728 MB / 3.306 GB, free: 99.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/9.596, allocations: 2.473 MB / 3.309 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/9.597, allocations: 1.285 MB / 3.31 GB, free: 97.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001127/9.598, allocations: 298.1 kB / 3.31 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/9.598, allocations: 472 kB / 3.311 GB, free: 96.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/9.598, allocations: 0 / 3.311 GB, free: 96.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07043/9.669, allocations: 43.04 MB / 3.353 GB, free: 55.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/9.669, allocations: 177.6 kB / 3.353 GB, free: 55.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.673/13.34, allocations: 0 / 3.353 GB, free: 55.47 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)