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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007939, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009237/0.0009238, allocations: 172.7 kB / 15.95 MB, free: 208 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.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003098, allocations: 12 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4182, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2003/0.6185, allocations: 191.1 MB / 0.7698 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.6343, allocations: 9.253 MB / 0.7788 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.6366, allocations: 51.62 kB / 0.7789 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.6386, allocations: 0.524 MB / 0.7794 GB, free: 7.094 MB / 0.6075 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.006436/0.6451, allocations: 2.049 MB / 0.7814 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.6488, allocations: 0.9744 MB / 0.7823 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006237/0.655, allocations: 4.738 MB / 0.787 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.6571, allocations: 0.9613 MB / 0.7879 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.6597, allocations: 1.151 MB / 0.789 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.6622, allocations: 1.167 MB / 0.7902 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004579/0.6627, allocations: 56 kB / 0.7902 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.6666, allocations: 1.161 MB / 0.7913 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009396/0.6676, allocations: 0.5102 MB / 0.7918 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.6684, allocations: 333 kB / 0.7922 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.6716, allocations: 2.042 MB / 0.7942 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6716, allocations: 0 / 0.7942 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.634e-06/0.6716, allocations: 3.938 kB / 0.7942 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.823e-05/0.6717, allocations: 0 / 0.7942 GB, free: 7.891 MB / 0.6231 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.003099/0.6748, allocations: 1.608 MB / 0.7957 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6748, allocations: 12.03 kB / 0.7957 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003688/0.6752, allocations: 164.8 kB / 0.7959 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.6785, allocations: 493.6 kB / 0.7964 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.6806, allocations: 1.027 MB / 0.7974 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.6807, allocations: 90.14 kB / 0.7975 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.6809, allocations: 108 kB / 0.7976 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.6831, allocations: 1.141 MB / 0.7987 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.6831, allocations: 4 kB / 0.7987 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6833, allocations: 47.98 kB / 0.7987 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.6833, allocations: 50.11 kB / 0.7988 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.6851, allocations: 1.058 MB / 0.7998 GB, free: 1.949 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.006135/0.6912, allocations: 4.206 MB / 0.8039 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.6924, allocations: 0.8233 MB / 0.8047 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.693, allocations: 478.2 kB / 0.8052 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.6934, allocations: 292.3 kB / 0.8055 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.6935, allocations: 47.56 kB / 0.8055 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.966e-06/0.6935, allocations: 4 kB / 0.8055 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005684/0.6992, allocations: 2.828 MB / 0.8083 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.6993, allocations: 60.41 kB / 0.8083 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.7005, allocations: 0.9677 MB / 0.8093 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.504e-05/0.7007, allocations: 41.7 kB / 0.8093 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.7011, allocations: 0.5434 MB / 0.8098 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.7014, allocations: 307.4 kB / 0.8101 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.7015, allocations: 23.94 kB / 0.8102 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7016, allocations: 341.9 kB / 0.8105 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.7021, allocations: 337.8 kB / 0.8108 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.7028, allocations: 492.5 kB / 0.8113 GB, free: 5.668 MB / 0.6387 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.004663/0.7075, allocations: 2.214 MB / 0.8134 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.7075, allocations: 0 / 0.8134 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001692/0.7092, allocations: 0.9999 MB / 0.8144 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.7092, allocations: 8 kB / 0.8144 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.7092, allocations: 11.97 kB / 0.8144 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.7093, allocations: 15.89 kB / 0.8144 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/0.71, allocations: 175.7 kB / 0.8146 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.7101, allocations: 11.94 kB / 0.8146 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.7112, allocations: 63.94 kB / 0.8147 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.7113, allocations: 32 kB / 0.8147 GB, free: 2.094 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.0007047/0.712, allocations: 382.2 kB / 0.8151 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.7123, allocations: 126.5 kB / 0.8152 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.7128, allocations: 148.3 kB / 0.8153 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.7128, allocations: 15.95 kB / 0.8154 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.7128, allocations: 0 / 0.8154 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/0.7143, allocations: 1.074 MB / 0.8164 GB, free: 276 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3052/1.019, allocations: 3.036 MB / 0.8194 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/1.02, allocations: 8.594 kB / 0.8194 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/1.02, allocations: 173.4 kB / 0.8195 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/1.021, allocations: 101.7 kB / 0.8196 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/1.021, allocations: 34.02 kB / 0.8197 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.023, allocations: 2.868 MB / 0.8225 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/1.023, allocations: 14.31 kB / 0.8225 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/1.025, allocations: 1.785 MB / 0.8242 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006152/1.026, allocations: 306.7 kB / 0.8245 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.026, allocations: 30.14 kB / 0.8246 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/1.027, allocations: 80 kB / 0.8246 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.027, allocations: 87.41 kB / 0.8247 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/1.027, allocations: 47.58 kB / 0.8248 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00101/1.028, allocations: 0.6871 MB / 0.8254 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 1.75 kB / 0.8254 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001244/1.029, allocations: 374.3 kB / 0.8258 GB, free: 213.7 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.00286/1.032, allocations: 2.473 MB / 0.8282 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.033, allocations: 0.8213 MB / 0.829 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.033, allocations: 3.656 kB / 0.829 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008762/1.034, allocations: 0.671 MB / 0.8297 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/1.038, allocations: 0.894 MB / 0.8305 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/1.051, allocations: 7.888 MB / 0.8382 GB, free: 207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/1.052, allocations: 1.253 MB / 0.8395 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001601/1.054, allocations: 342.1 kB / 0.8398 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/1.055, allocations: 476.3 kB / 0.8402 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/1.055, allocations: 0 / 0.8402 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/1.111, allocations: 37.98 MB / 0.8773 GB, free: 174 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.111, allocations: 245.3 kB / 0.8776 GB, free: 173.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.574, allocations: 0 / 0.8776 GB, free: 173.7 MB / 0.6387 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) Environment - environmentSimulation: