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.000976/0.000976, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.747/0.747, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008844/0.0008846, allocations: 86.77 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.634e-05, allocations: 8.391 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1547, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.094/5.248, allocations: 1.885 GB / 2.526 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/5.249, allocations: 88.83 kB / 2.526 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.305/8.554, allocations: 0.7581 GB / 3.284 GB, free: 31.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/8.554, allocations: 0 / 3.284 GB, free: 31.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002004/8.554, allocations: 48.11 kB / 3.284 GB, free: 31.27 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.004895/8.559, allocations: 1.542 MB / 3.286 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/8.559, allocations: 11.97 kB / 3.286 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006421/8.56, allocations: 171.7 kB / 3.286 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/8.564, allocations: 473.7 kB / 3.286 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/8.568, allocations: 1.113 MB / 3.287 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/8.568, allocations: 86.14 kB / 3.287 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005421/8.569, allocations: 115.9 kB / 3.287 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/8.572, allocations: 1.198 MB / 3.289 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/8.572, allocations: 0 / 3.289 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/8.572, allocations: 47.94 kB / 3.289 GB, free: 26.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-05/8.572, allocations: 46.12 kB / 3.289 GB, free: 26.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/8.574, allocations: 0.9885 MB / 3.29 GB, free: 25.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007074/8.581, allocations: 4.18 MB / 3.294 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/8.583, allocations: 0.7512 MB / 3.294 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/8.583, allocations: 465.7 kB / 3.295 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/8.584, allocations: 292.1 kB / 3.295 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/8.584, allocations: 55.66 kB / 3.295 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 3.687e-06/8.584, allocations: 0 / 3.295 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.005032/8.589, allocations: 2.24 MB / 3.297 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/8.589, allocations: 60.19 kB / 3.297 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/8.59, allocations: 0.838 MB / 3.298 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/8.59, allocations: 53.7 kB / 3.298 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/8.591, allocations: 0.5435 MB / 3.299 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/8.591, allocations: 315.4 kB / 3.299 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/8.591, allocations: 16 kB / 3.299 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001007/8.591, allocations: 341.9 kB / 3.3 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/8.591, allocations: 321.9 kB / 3.3 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/8.592, allocations: 499.1 kB / 3.3 GB, free: 13.89 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.00464/8.597, allocations: 2.2 MB / 3.302 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/8.597, allocations: 4 kB / 3.302 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001643/8.598, allocations: 0.9751 MB / 3.303 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/8.598, allocations: 7.984 kB / 3.303 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/8.598, allocations: 4 kB / 3.303 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/8.598, allocations: 15.94 kB / 3.303 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/8.599, allocations: 183.7 kB / 3.304 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/8.599, allocations: 4 kB / 3.304 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/8.601, allocations: 71.94 kB / 3.304 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/8.601, allocations: 35.98 kB / 3.304 GB, free: 10.34 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.0002612/8.601, allocations: 164.8 kB / 3.304 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/8.602, allocations: 126.5 kB / 3.304 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/8.602, allocations: 148.3 kB / 3.304 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/8.602, allocations: 11.95 kB / 3.304 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/8.602, allocations: 3.984 kB / 3.304 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/8.604, allocations: 1.057 MB / 3.305 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/8.61, allocations: 3.02 MB / 3.308 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/8.61, allocations: 12 kB / 3.308 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/8.61, allocations: 167.7 kB / 3.308 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/8.611, allocations: 101.6 kB / 3.308 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/8.611, allocations: 28 kB / 3.308 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/8.613, allocations: 2.88 MB / 3.311 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/8.613, allocations: 19.92 kB / 3.311 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/8.616, allocations: 2.26 MB / 3.313 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/8.617, allocations: 307.5 kB / 3.314 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/8.617, allocations: 36.08 kB / 3.314 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/8.619, allocations: 79.69 kB / 3.314 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/8.619, allocations: 84.19 kB / 3.314 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/8.619, allocations: 43.98 kB / 3.314 GB, free: 14.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001289/8.62, allocations: 0.6771 MB / 3.315 GB, free: 14.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/8.62, allocations: 0 / 3.315 GB, free: 14.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002433/8.623, allocations: 0.5195 MB / 3.315 GB, free: 13.75 MB / 0.698 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.007/8.63, allocations: 6.924 MB / 3.322 GB, free: 6.449 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001585/8.631, allocations: 0.8018 MB / 3.323 GB, free: 5.648 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/8.631, allocations: 4 kB / 3.323 GB, free: 5.645 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/8.633, allocations: 0.658 MB / 3.323 GB, free: 4.965 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/8.638, allocations: 0.8763 MB / 3.324 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007461/8.645, allocations: 2.596 MB / 3.327 GB, free: 1.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/8.647, allocations: 1.275 MB / 3.328 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.5559/9.203, allocations: 336.1 kB / 3.328 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008051/9.203, allocations: 478.7 kB / 3.329 GB, free: 115.3 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/9.203, allocations: 0 / 3.329 GB, free: 115.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/9.342, allocations: 66.99 MB / 3.394 GB, free: 114.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/9.343, allocations: 214.2 kB / 3.394 GB, free: 113.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.053/13.4, allocations: 0 / 3.394 GB, free: 113.9 MB / 0.698 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)