Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.0009371/0.0009372, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000936/0.000936, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8183/0.8183, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.25 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1322, allocations: 80.92 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4151/0.5473, allocations: 240.5 MB / 0.8186 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.5672, allocations: 16.07 MB / 0.8343 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.5693, allocations: 71.5 kB / 0.8344 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.5719, allocations: 1.022 MB / 0.8354 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007684/0.5796, allocations: 3.599 MB / 0.8389 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.5832, allocations: 1.616 MB / 0.8405 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007176/0.5904, allocations: 7.419 MB / 0.8477 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.5925, allocations: 1.413 MB / 0.8491 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005017/0.5975, allocations: 2.342 MB / 0.8514 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/0.6011, allocations: 1.773 MB / 0.8531 GB, free: 9.316 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.6016, allocations: 100 kB / 0.8532 GB, free: 9.219 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005534/0.6071, allocations: 3.148 MB / 0.8563 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009187/0.608, allocations: 0.6971 MB / 0.857 GB, free: 5.363 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.6097, allocations: 1.069 MB / 0.858 GB, free: 4.289 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.6146, allocations: 3.645 MB / 0.8616 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6146, allocations: 0 / 0.8616 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6146, allocations: 4 kB / 0.8616 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.6147, allocations: 0 / 0.8616 GB, free: 0.6289 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.2112/0.8259, allocations: 2.491 MB / 0.864 GB, free: 224.7 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8259, allocations: 12.61 kB / 0.864 GB, free: 224.7 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.8261, allocations: 220.8 kB / 0.8642 GB, free: 224.6 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.8288, allocations: 0.4983 MB / 0.8647 GB, free: 224.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.8302, allocations: 1.273 MB / 0.866 GB, free: 224 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.8303, allocations: 175.5 kB / 0.8661 GB, free: 223.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.8305, allocations: 158.6 kB / 0.8663 GB, free: 223.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.8326, allocations: 1.734 MB / 0.868 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.8326, allocations: 3.656 kB / 0.868 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.8327, allocations: 60 kB / 0.868 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/0.8328, allocations: 61.2 kB / 0.8681 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.8347, allocations: 1.377 MB / 0.8694 GB, free: 222.6 MB / 0.67 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.005935/0.8407, allocations: 8.167 MB / 0.8774 GB, free: 216.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.8419, allocations: 0.9024 MB / 0.8783 GB, free: 216.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/0.8425, allocations: 0.5323 MB / 0.8788 GB, free: 216 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.843, allocations: 326.5 kB / 0.8791 GB, free: 215.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.8431, allocations: 49.16 kB / 0.8792 GB, free: 215.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.344e-06/0.8431, allocations: 0 / 0.8792 GB, free: 215.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.005846/0.8489, allocations: 3.11 MB / 0.8822 GB, free: 214.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.849, allocations: 64.42 kB / 0.8823 GB, free: 214.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.8501, allocations: 1.258 MB / 0.8835 GB, free: 213.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.8502, allocations: 47.52 kB / 0.8836 GB, free: 213.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.8505, allocations: 0.8174 MB / 0.8843 GB, free: 213 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.8507, allocations: 366.2 kB / 0.8847 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.8509, allocations: 226.2 kB / 0.8849 GB, free: 212.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.851, allocations: 355.8 kB / 0.8853 GB, free: 212.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.8517, allocations: 447.8 kB / 0.8857 GB, free: 212.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/0.8525, allocations: 0.8326 MB / 0.8865 GB, free: 211.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.854, allocations: 1.243 MB / 0.8877 GB, free: 210.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.854, allocations: 6.969 kB / 0.8877 GB, free: 210.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001879/0.8558, allocations: 1.393 MB / 0.8891 GB, free: 210.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8559, allocations: 11.78 kB / 0.8891 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8559, allocations: 16.06 kB / 0.8891 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8559, allocations: 14.62 kB / 0.8891 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8569, allocations: 278.4 kB / 0.8894 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.857, allocations: 26.84 kB / 0.8894 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.8583, allocations: 161.8 kB / 0.8896 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.8584, allocations: 50.61 kB / 0.8896 GB, free: 210.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001024/0.8594, allocations: 0.7711 MB / 0.8904 GB, free: 209.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007544/0.8602, allocations: 0.825 MB / 0.8912 GB, free: 209.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/0.8616, allocations: 1.237 MB / 0.8924 GB, free: 208.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.8616, allocations: 2.688 kB / 0.8924 GB, free: 208.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001798/0.8634, allocations: 1.388 MB / 0.8937 GB, free: 207.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.8634, allocations: 7.719 kB / 0.8937 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8634, allocations: 13.88 kB / 0.8938 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.8634, allocations: 16 kB / 0.8938 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.8644, allocations: 266.9 kB / 0.894 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.8644, allocations: 24.95 kB / 0.894 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.8657, allocations: 161 kB / 0.8942 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.8658, allocations: 49.64 kB / 0.8942 GB, free: 207.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0001999/0.866, allocations: 269 kB / 0.8945 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.8662, allocations: 168.8 kB / 0.8947 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.868, allocations: 1.159 MB / 0.8958 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.868, allocations: 9.812 kB / 0.8958 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.868, allocations: 0.9062 kB / 0.8958 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/0.8695, allocations: 1.068 MB / 0.8969 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.8733, allocations: 2.782 MB / 0.8996 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8733, allocations: 2.438 kB / 0.8996 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.8744, allocations: 248.7 kB / 0.8998 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.8745, allocations: 6.156 kB / 0.8998 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.8745, allocations: 29.09 kB / 0.8998 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.8745, allocations: 14.03 kB / 0.8999 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8745, allocations: 2.156 kB / 0.8999 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.8771, allocations: 1.814 MB / 0.9016 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.8775, allocations: 334.8 kB / 0.9019 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.8777, allocations: 23.25 kB / 0.902 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.8788, allocations: 143.4 kB / 0.9021 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.879, allocations: 59.97 kB / 0.9022 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-05/0.879, allocations: 39.61 kB / 0.9022 GB, free: 204 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008954/0.8799, allocations: 0.8441 MB / 0.903 GB, free: 203.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8799, allocations: 0 / 0.903 GB, free: 203.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001742/0.8817, allocations: 0.762 MB / 0.9038 GB, free: 203.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.002936/0.8846, allocations: 2.533 MB / 0.9062 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.8872, allocations: 1.724 MB / 0.9079 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.8872, allocations: 1.094 kB / 0.9079 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/0.888, allocations: 0.5157 MB / 0.9084 GB, free: 201.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.8918, allocations: 0.9747 MB / 0.9094 GB, free: 201.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.9076, allocations: 13.7 MB / 0.9228 GB, free: 193.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009078/0.9086, allocations: 1.45 MB / 0.9242 GB, free: 192.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00209/0.9107, allocations: 0.5604 MB / 0.9247 GB, free: 192.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007354/0.9114, allocations: 0.681 MB / 0.9254 GB, free: 191.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.9114, allocations: 0 / 0.9254 GB, free: 191.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6866/1.598, allocations: 43.72 MB / 0.9681 GB, free: 158.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/1.598, allocations: 234.1 kB / 0.9683 GB, free: 158.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.431, allocations: 3.938 kB / 0.9683 GB, free: 158.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)