Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_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.001433/0.001432, 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.8127/0.8127, allocations: 133.6 MB / 141.6 MB, free: 2.844 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.388/1.388, 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.0009013/0.0009013, allocations: 103.1 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.79e-05, allocations: 8 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4576, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.457/5.914, allocations: 1.885 GB / 2.519 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/5.915, allocations: 87.39 kB / 2.519 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.185/9.099, allocations: 0.749 GB / 3.268 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.944e-06/9.099, allocations: 0 / 3.268 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002058/9.1, allocations: 49.25 kB / 3.268 GB, free: 117.5 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.00467/9.104, allocations: 1.54 MB / 3.269 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/9.104, allocations: 10.84 kB / 3.269 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/9.108, allocations: 481.2 kB / 3.27 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/9.112, allocations: 1.112 MB / 3.271 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/9.112, allocations: 37.78 kB / 3.271 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/9.112, allocations: 72.8 kB / 3.271 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002374/9.115, allocations: 0.9295 MB / 3.272 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/9.117, allocations: 1.042 MB / 3.273 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/9.117, allocations: 2.625 kB / 3.273 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/9.117, allocations: 3.781 kB / 3.273 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/9.117, allocations: 40.27 kB / 3.273 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/9.124, allocations: 3.936 MB / 3.277 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/9.125, allocations: 0.706 MB / 3.277 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/9.125, allocations: 437.9 kB / 3.278 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003698/9.126, allocations: 290.8 kB / 3.278 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/9.126, allocations: 51.91 kB / 3.278 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 3.256e-06/9.126, allocations: 0 / 3.278 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.004602/9.13, allocations: 2.089 MB / 3.28 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/9.13, allocations: 60 kB / 3.28 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008193/9.131, allocations: 0.5929 MB / 3.281 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/9.131, allocations: 31.58 kB / 3.281 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/9.132, allocations: 0.5499 MB / 3.281 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/9.132, allocations: 297.9 kB / 3.282 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/9.132, allocations: 0 / 3.282 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.094e-05/9.132, allocations: 343 kB / 3.282 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/9.132, allocations: 304.1 kB / 3.282 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/9.133, allocations: 483.3 kB / 3.283 GB, free: 112.6 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.004266/9.137, allocations: 2.157 MB / 3.285 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/9.137, allocations: 0 / 3.285 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001422/9.139, allocations: 0.8828 MB / 3.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/9.139, allocations: 6.25 kB / 3.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/9.139, allocations: 3.688 kB / 3.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/9.139, allocations: 14.03 kB / 3.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/9.14, allocations: 181.2 kB / 3.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/9.14, allocations: 10.84 kB / 3.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/9.141, allocations: 41.09 kB / 3.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/9.141, allocations: 45.73 kB / 3.286 GB, free: 112.2 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.0002433/9.141, allocations: 133.1 kB / 3.286 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001512/9.143, allocations: 0.8489 MB / 3.287 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/9.143, allocations: 110.9 kB / 3.287 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/9.144, allocations: 127.7 kB / 3.287 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/9.144, allocations: 7.781 kB / 3.287 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/9.144, allocations: 6.906 kB / 3.287 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/9.145, allocations: 1.008 MB / 3.288 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/9.15, allocations: 2.797 MB / 3.291 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/9.15, allocations: 10.22 kB / 3.291 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007932/9.151, allocations: 172.6 kB / 3.291 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/9.151, allocations: 96.28 kB / 3.291 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/9.151, allocations: 21.31 kB / 3.291 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/9.153, allocations: 2.798 MB / 3.294 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/9.153, allocations: 12.56 kB / 3.294 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/9.156, allocations: 2.104 MB / 3.296 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/9.156, allocations: 289 kB / 3.296 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/9.157, allocations: 17.02 kB / 3.296 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/9.158, allocations: 60.05 kB / 3.296 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/9.158, allocations: 93.06 kB / 3.296 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/9.158, allocations: 46.14 kB / 3.296 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006286/9.159, allocations: 459.3 kB / 3.297 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.6e-07/9.159, allocations: 3.906 kB / 3.297 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002009/9.161, allocations: 467.6 kB / 3.297 GB, free: 105.4 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.005399/9.166, allocations: 7.027 MB / 3.304 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001301/9.168, allocations: 0.7514 MB / 3.305 GB, free: 99.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/9.168, allocations: 3.906 kB / 3.305 GB, free: 99.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008737/9.169, allocations: 0.618 MB / 3.306 GB, free: 99.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/9.172, allocations: 0.6719 MB / 3.306 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/9.178, allocations: 2.47 MB / 3.309 GB, free: 97.69 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008715/9.179, allocations: 1.28 MB / 3.31 GB, free: 96.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0016/9.18, allocations: 297.9 kB / 3.31 GB, free: 96.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/9.181, allocations: 468.5 kB / 3.311 GB, free: 96 MB / 0.6823 GB Notification: Performance of SimCode: time 9.51e-07/9.181, allocations: 2.5 kB / 3.311 GB, free: 96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07435/9.256, allocations: 43.03 MB / 3.353 GB, free: 54.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/9.256, allocations: 173.3 kB / 3.353 GB, free: 54.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.412/12.67, allocations: 4 kB / 3.353 GB, free: 54.49 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)