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.001036/0.001036, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009975/0.0009976, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.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.8451/0.8451, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.27 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.134, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4062/0.5402, allocations: 209.9 MB / 0.7894 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.5529, allocations: 9.843 MB / 0.799 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.5544, allocations: 59.62 kB / 0.7991 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.5562, allocations: 0.7687 MB / 0.7998 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005731/0.562, allocations: 2.804 MB / 0.8026 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.5648, allocations: 1.364 MB / 0.8039 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004021/0.5689, allocations: 4.062 MB / 0.8079 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.5704, allocations: 1.331 MB / 0.8092 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.5724, allocations: 1.362 MB / 0.8105 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.5744, allocations: 1.229 MB / 0.8117 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.5747, allocations: 144 kB / 0.8118 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.5784, allocations: 2.381 MB / 0.8142 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005943/0.579, allocations: 0.6 MB / 0.8147 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009981/0.58, allocations: 0.8673 MB / 0.8156 GB, free: 64 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.5835, allocations: 2.988 MB / 0.8185 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5835, allocations: 4 kB / 0.8185 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5835, allocations: 0 / 0.8185 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.141e-05/0.5836, allocations: 0 / 0.8185 GB, free: 13.06 MB / 0.6387 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.002839/0.5864, allocations: 1.899 MB / 0.8204 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5864, allocations: 12.03 kB / 0.8204 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.5866, allocations: 164.8 kB / 0.8205 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.5897, allocations: 489.7 kB / 0.821 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.5912, allocations: 1.061 MB / 0.822 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.5913, allocations: 86.83 kB / 0.8221 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.5914, allocations: 119.9 kB / 0.8222 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.5931, allocations: 1.153 MB / 0.8234 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.5932, allocations: 4 kB / 0.8234 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.84e-05/0.5933, allocations: 44 kB / 0.8234 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.5933, allocations: 46.12 kB / 0.8234 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5948, allocations: 1.058 MB / 0.8245 GB, free: 6.789 MB / 0.6387 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.005045/0.5999, allocations: 4.232 MB / 0.8286 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6009, allocations: 0.8206 MB / 0.8294 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.6015, allocations: 482.2 kB / 0.8299 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.6019, allocations: 292.3 kB / 0.8302 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.6019, allocations: 47.56 kB / 0.8302 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 1.833e-06/0.6019, allocations: 0 / 0.8302 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.004687/0.6066, allocations: 2.841 MB / 0.833 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.6067, allocations: 60.41 kB / 0.833 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.6077, allocations: 0.9793 MB / 0.834 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.6077, allocations: 45.64 kB / 0.834 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.6081, allocations: 0.5396 MB / 0.8346 GB, free: 12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.6083, allocations: 323.3 kB / 0.8349 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.6086, allocations: 158.5 kB / 0.835 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6087, allocations: 341.9 kB / 0.8353 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.6091, allocations: 333.8 kB / 0.8357 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.6097, allocations: 0.4888 MB / 0.8361 GB, free: 10.31 MB / 0.6544 GB 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) 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.615, allocations: 3.022 MB / 0.8391 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.615, allocations: 0 / 0.8391 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001311/0.6164, allocations: 1.008 MB / 0.8401 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6164, allocations: 8 kB / 0.8401 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6164, allocations: 0 / 0.8401 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6164, allocations: 15.92 kB / 0.8401 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.6171, allocations: 175.8 kB / 0.8403 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.6171, allocations: 15.92 kB / 0.8403 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/0.618, allocations: 26.25 kB / 0.8403 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.6181, allocations: 39.98 kB / 0.8403 GB, free: 5.918 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004232/0.6185, allocations: 381 kB / 0.8407 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.6187, allocations: 130.5 kB / 0.8408 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.6189, allocations: 144.3 kB / 0.841 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6189, allocations: 12 kB / 0.841 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6189, allocations: 0 / 0.841 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.6203, allocations: 1.098 MB / 0.8421 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.6243, allocations: 3.043 MB / 0.845 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.6243, allocations: 12 kB / 0.845 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.625, allocations: 163.8 kB / 0.8452 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.6253, allocations: 114 kB / 0.8453 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.6254, allocations: 28 kB / 0.8453 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.6278, allocations: 3.078 MB / 0.8483 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.6278, allocations: 15.88 kB / 0.8483 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.6299, allocations: 1.803 MB / 0.8501 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.6303, allocations: 303.5 kB / 0.8504 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.6304, allocations: 35.98 kB / 0.8504 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.6313, allocations: 39.17 kB / 0.8505 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.6314, allocations: 88.11 kB / 0.8506 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.6315, allocations: 48.09 kB / 0.8506 GB, free: 10.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00075/0.6323, allocations: 0.6917 MB / 0.8513 GB, free: 10.01 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6323, allocations: 4 kB / 0.8513 GB, free: 10.01 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008788/0.6332, allocations: 376 kB / 0.8516 GB, free: 9.641 MB / 0.67 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002613/0.6358, allocations: 2.468 MB / 0.854 GB, free: 7.023 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.6372, allocations: 0.9573 MB / 0.855 GB, free: 6.066 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6372, allocations: 4 kB / 0.855 GB, free: 6.062 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.638, allocations: 0.6718 MB / 0.8556 GB, free: 5.371 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/0.6417, allocations: 0.9329 MB / 0.8566 GB, free: 4.492 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2158/0.8575, allocations: 10.24 MB / 0.8666 GB, free: 217.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.8581, allocations: 1.25 MB / 0.8678 GB, free: 216.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001172/0.8593, allocations: 342.3 kB / 0.8681 GB, free: 216.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.8598, allocations: 477.1 kB / 0.8686 GB, free: 216.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.52e-07/0.8598, allocations: 0 / 0.8686 GB, free: 216.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/2.038, allocations: 38.31 MB / 0.906 GB, free: 209.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.906/11.94, allocations: 5.188 kB / 0.906 GB, free: 209.4 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/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)