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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008009/0.0008009, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9826/0.9826, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005502/0.0005503, allocations: 8 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1814, allocations: 82.31 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4707/0.6521, allocations: 191.1 MB / 0.7741 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.6662, allocations: 9.256 MB / 0.7831 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.6687, allocations: 51.62 kB / 0.7832 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.6709, allocations: 0.524 MB / 0.7837 GB, free: 3.953 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007438/0.6784, allocations: 2.042 MB / 0.7857 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.6819, allocations: 0.9899 MB / 0.7866 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007684/0.6896, allocations: 4.738 MB / 0.7913 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.6918, allocations: 0.9514 MB / 0.7922 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.6952, allocations: 1.155 MB / 0.7933 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.6979, allocations: 1.16 MB / 0.7944 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004347/0.6983, allocations: 56 kB / 0.7945 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.7033, allocations: 1.173 MB / 0.7956 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.7049, allocations: 0.5102 MB / 0.7961 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.7064, allocations: 333 kB / 0.7965 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.7107, allocations: 2.042 MB / 0.7985 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7107, allocations: 0 / 0.7985 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7107, allocations: 0 / 0.7985 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.801e-05/0.7108, allocations: 0 / 0.7985 GB, free: 4.766 MB / 0.6075 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.004356/0.7152, allocations: 1.607 MB / 0.8 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7152, allocations: 8.031 kB / 0.8 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005039/0.7158, allocations: 168.8 kB / 0.8002 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.7193, allocations: 497.5 kB / 0.8007 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.7219, allocations: 1.035 MB / 0.8017 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.928e-05/0.722, allocations: 82.77 kB / 0.8018 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.7222, allocations: 112 kB / 0.8019 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.7248, allocations: 1.137 MB / 0.803 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.7249, allocations: 0 / 0.803 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.725, allocations: 55.98 kB / 0.803 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/0.7251, allocations: 38.14 kB / 0.8031 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.7272, allocations: 1.058 MB / 0.8041 GB, free: 14.83 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007322/0.7346, allocations: 4.204 MB / 0.8082 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.7359, allocations: 0.8205 MB / 0.809 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.7366, allocations: 480.5 kB / 0.8095 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004306/0.7371, allocations: 300.2 kB / 0.8098 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.428e-05/0.7372, allocations: 43.56 kB / 0.8098 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=83): time 2.845e-06/0.7372, allocations: 0 / 0.8098 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89): time 0.0063/0.7435, allocations: 2.83 MB / 0.8126 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.7436, allocations: 72.33 kB / 0.8126 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.745, allocations: 0.9637 MB / 0.8136 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.622e-05/0.7452, allocations: 53.64 kB / 0.8136 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.7456, allocations: 0.5395 MB / 0.8141 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.746, allocations: 315.4 kB / 0.8144 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.746, allocations: 16 kB / 0.8145 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7462, allocations: 341.9 kB / 0.8148 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.7467, allocations: 333.8 kB / 0.8151 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.7474, allocations: 496.5 kB / 0.8156 GB, free: 2.551 MB / 0.6231 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.004578/0.752, allocations: 2.215 MB / 0.8177 GB, free: 300 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.752, allocations: 4 kB / 0.8177 GB, free: 296 kB / 0.6231 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001685/0.7537, allocations: 0.9996 MB / 0.8187 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.7538, allocations: 8 kB / 0.8187 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7538, allocations: 4 kB / 0.8187 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.7538, allocations: 4 kB / 0.8187 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.7545, allocations: 192.1 kB / 0.8189 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.7546, allocations: 11.94 kB / 0.8189 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.7557, allocations: 62.62 kB / 0.819 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.7558, allocations: 35.98 kB / 0.819 GB, free: 14.97 MB / 0.6387 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 () * Number of clocked 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.000693/0.7565, allocations: 375.8 kB / 0.8194 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.7568, allocations: 130.5 kB / 0.8195 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.7571, allocations: 144.3 kB / 0.8196 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7571, allocations: 8 kB / 0.8197 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.7572, allocations: 11.95 kB / 0.8197 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/0.7587, allocations: 1.082 MB / 0.8207 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.764, allocations: 3.031 MB / 0.8237 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.764, allocations: 11.94 kB / 0.8237 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.7648, allocations: 167.8 kB / 0.8239 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003636/0.7651, allocations: 110.2 kB / 0.824 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.7652, allocations: 31.94 kB / 0.824 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.7679, allocations: 2.862 MB / 0.8268 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.768, allocations: 16.02 kB / 0.8268 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.7709, allocations: 1.792 MB / 0.8286 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.7722, allocations: 303.5 kB / 0.8288 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/0.7727, allocations: 35.98 kB / 0.8289 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.7743, allocations: 84.34 kB / 0.829 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.7745, allocations: 88.14 kB / 0.829 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/0.7747, allocations: 47.98 kB / 0.8291 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001266/0.776, allocations: 0.6839 MB / 0.8298 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.776, allocations: 0 / 0.8298 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001535/0.7775, allocations: 380 kB / 0.8301 GB, free: 2.914 MB / 0.6387 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 () * Number of clocked 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.003625/0.7811, allocations: 2.474 MB / 0.8325 GB, free: 316 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.7827, allocations: 0.8203 MB / 0.8333 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.7827, allocations: 4 kB / 0.8333 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.7837, allocations: 0.672 MB / 0.834 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/0.788, allocations: 0.8813 MB / 0.8349 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.8017, allocations: 7.901 MB / 0.8426 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.8028, allocations: 1.241 MB / 0.8438 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00151/0.8044, allocations: 347 kB / 0.8441 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.8051, allocations: 475.3 kB / 0.8446 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.8052, allocations: 0 / 0.8446 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3973/1.202, allocations: 38 MB / 0.8817 GB, free: 214.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/1.203, allocations: 248 kB / 0.8819 GB, free: 214 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.869, allocations: 0 / 0.8819 GB, free: 214 MB / 0.67 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) Environment - environmentSimulation: