Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_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.008015/0.008015, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001796/0.001797, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9961/0.9961, allocations: 132.2 MB / 422.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 68.36 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 1.443/1.754, allocations: 242.4 MB / 0.8959 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04658/1.8, allocations: 15.88 MB / 0.9114 GB, free: 3.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006172/1.807, allocations: 75.56 kB / 0.9115 GB, free: 3.586 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006703/1.813, allocations: 1.181 MB / 0.9126 GB, free: 2.398 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01944/1.833, allocations: 3.816 MB / 0.9164 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01177/1.845, allocations: 1.819 MB / 0.9181 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01534/1.86, allocations: 5.238 MB / 0.9233 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006561/1.867, allocations: 1.672 MB / 0.9249 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/1.879, allocations: 2.647 MB / 0.9275 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006989/1.886, allocations: 1.706 MB / 0.9291 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/1.887, allocations: 180 kB / 0.9293 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/1.901, allocations: 2.705 MB / 0.932 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003034/1.904, allocations: 0.7674 MB / 0.9327 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005539/1.909, allocations: 1.147 MB / 0.9338 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01602/1.925, allocations: 3.572 MB / 0.9373 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/1.926, allocations: 0 / 0.9373 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.937e-06/1.926, allocations: 0 / 0.9373 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001885/1.926, allocations: 0 / 0.9373 GB, free: 9.051 MB / 0.7012 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.01264/1.938, allocations: 2.499 MB / 0.9397 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.833e-05/1.939, allocations: 8.031 kB / 0.9398 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00098/1.94, allocations: 219.8 kB / 0.94 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/1.946, allocations: 0.5087 MB / 0.9405 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/1.952, allocations: 1.359 MB / 0.9418 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/1.952, allocations: 174.2 kB / 0.942 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/1.952, allocations: 159.9 kB / 0.9421 GB, free: 4 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005392/1.958, allocations: 1.73 MB / 0.9438 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-05/1.958, allocations: 3.906 kB / 0.9438 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/1.958, allocations: 63.98 kB / 0.9439 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/1.958, allocations: 62.69 kB / 0.9439 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/1.963, allocations: 1.369 MB / 0.9453 GB, free: 0.6914 MB / 0.7012 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.01829/1.981, allocations: 8.179 MB / 0.9532 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/1.984, allocations: 0.9209 MB / 0.9541 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/1.985, allocations: 0.5307 MB / 0.9547 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009644/1.986, allocations: 320.2 kB / 0.955 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.041e-05/1.986, allocations: 47.56 kB / 0.955 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 4.779e-06/1.986, allocations: 0 / 0.955 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.01323/1.999, allocations: 3.104 MB / 0.958 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/2, allocations: 60.41 kB / 0.9581 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/2.003, allocations: 1.266 MB / 0.9593 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/2.003, allocations: 49.7 kB / 0.9594 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/2.004, allocations: 0.8133 MB / 0.9602 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006592/2.005, allocations: 362.7 kB / 0.9605 GB, free: 196 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006234/2.006, allocations: 230.7 kB / 0.9607 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003432/2.006, allocations: 353.9 kB / 0.9611 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/2.007, allocations: 445.8 kB / 0.9615 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/2.009, allocations: 0.8312 MB / 0.9623 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/2.013, allocations: 1.248 MB / 0.9635 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/2.013, allocations: 4 kB / 0.9635 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005137/2.018, allocations: 1.405 MB / 0.9649 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/2.018, allocations: 8 kB / 0.9649 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/2.018, allocations: 8 kB / 0.9649 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.747e-05/2.018, allocations: 19.98 kB / 0.965 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/2.02, allocations: 279.5 kB / 0.9652 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.793e-05/2.02, allocations: 20.41 kB / 0.9652 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/2.023, allocations: 71.94 kB / 0.9653 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/2.024, allocations: 48 kB / 0.9654 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002586/2.026, allocations: 0.7765 MB / 0.9661 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001862/2.028, allocations: 0.8328 MB / 0.9669 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003101/2.031, allocations: 1.229 MB / 0.9681 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.592e-05/2.031, allocations: 4 kB / 0.9681 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.004399/2.036, allocations: 1.386 MB / 0.9695 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/2.036, allocations: 12 kB / 0.9695 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/2.036, allocations: 12 kB / 0.9695 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.941e-05/2.036, allocations: 12 kB / 0.9695 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/2.038, allocations: 271.6 kB / 0.9698 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.006e-05/2.038, allocations: 19.94 kB / 0.9698 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/2.04, allocations: 78.05 kB / 0.9699 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/2.041, allocations: 52 kB / 0.9699 GB, free: 5.957 MB / 0.7325 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.0007179/2.041, allocations: 263.8 kB / 0.9702 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009609/2.042, allocations: 166 kB / 0.9703 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/2.046, allocations: 1.159 MB / 0.9715 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/2.046, allocations: 16 kB / 0.9715 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/2.046, allocations: 0 / 0.9715 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/2.048, allocations: 1.068 MB / 0.9725 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006831/2.055, allocations: 2.773 MB / 0.9752 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/2.055, allocations: 224 / 0.9752 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/2.057, allocations: 255.7 kB / 0.9755 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.191e-05/2.057, allocations: 4 kB / 0.9755 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/2.057, allocations: 28 kB / 0.9755 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/2.057, allocations: 15.92 kB / 0.9755 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.057, allocations: 0 / 0.9755 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/2.061, allocations: 1.822 MB / 0.9773 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/2.062, allocations: 339 kB / 0.9776 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004879/2.062, allocations: 23.94 kB / 0.9776 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/2.064, allocations: 58 kB / 0.9777 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/2.064, allocations: 68.91 kB / 0.9778 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/2.064, allocations: 35.98 kB / 0.9778 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002003/2.066, allocations: 0.8504 MB / 0.9786 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/2.066, allocations: 0 / 0.9786 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003696/2.07, allocations: 0.7656 MB / 0.9794 GB, free: 12.07 MB / 0.7481 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.004907/2.075, allocations: 2.53 MB / 0.9818 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003861/2.079, allocations: 1.732 MB / 0.9835 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/2.079, allocations: 0.5625 kB / 0.9835 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009812/2.08, allocations: 0.5209 MB / 0.984 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/2.086, allocations: 0.9128 MB / 0.9849 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/2.114, allocations: 11.97 MB / 0.9966 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/2.118, allocations: 1.441 MB / 0.998 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005854/2.124, allocations: 0.5561 MB / 0.9986 GB, free: 7.871 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/2.126, allocations: 0.6828 MB / 0.9992 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of SimCode: time 2.685e-06/2.126, allocations: 4 kB / 0.9992 GB, free: 7.184 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1692/2.295, allocations: 45.81 MB / 1.044 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/20, allocations: 9.906 kB / 1.044 GB, free: 9.824 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)