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.005827/0.005828, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001334/0.001334, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.38 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 80.2 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6016/0.7562, allocations: 242.4 MB / 0.8959 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01915/0.7754, allocations: 15.89 MB / 0.9114 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.7785, allocations: 75.59 kB / 0.9115 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.7819, allocations: 1.23 MB / 0.9127 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.792, allocations: 3.943 MB / 0.9165 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.7968, allocations: 1.832 MB / 0.9183 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006556/0.8033, allocations: 5.252 MB / 0.9235 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.8061, allocations: 1.669 MB / 0.9251 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006113/0.8123, allocations: 2.697 MB / 0.9277 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.816, allocations: 1.704 MB / 0.9294 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006156/0.8166, allocations: 172.2 kB / 0.9295 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006012/0.8226, allocations: 2.715 MB / 0.9322 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.8239, allocations: 0.7697 MB / 0.933 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.8263, allocations: 1.143 MB / 0.9341 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.8332, allocations: 3.573 MB / 0.9376 GB, free: 432 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8332, allocations: 0 / 0.9376 GB, free: 432 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8332, allocations: 4 kB / 0.9376 GB, free: 428 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001018/0.8333, allocations: 0 / 0.9376 GB, free: 428 kB / 0.6544 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.005233/0.8386, allocations: 2.503 MB / 0.94 GB, free: 13.89 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8386, allocations: 8.031 kB / 0.94 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003722/0.839, allocations: 217.6 kB / 0.9402 GB, free: 13.67 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.8422, allocations: 0.5022 MB / 0.9407 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.845, allocations: 1.367 MB / 0.942 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.8453, allocations: 174.2 kB / 0.9422 GB, free: 11.63 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.8456, allocations: 155.9 kB / 0.9424 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/0.849, allocations: 1.736 MB / 0.9441 GB, free: 9.68 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.8491, allocations: 3.906 kB / 0.9441 GB, free: 9.676 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.8493, allocations: 69.95 kB / 0.9441 GB, free: 9.613 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/0.8494, allocations: 62.69 kB / 0.9442 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.852, allocations: 1.371 MB / 0.9455 GB, free: 8.176 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.009739/0.8617, allocations: 8.178 MB / 0.9535 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.8632, allocations: 0.9023 MB / 0.9544 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.8641, allocations: 0.5341 MB / 0.9549 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.8647, allocations: 323.4 kB / 0.9552 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.8647, allocations: 43.56 kB / 0.9553 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=96): time 2.795e-06/0.8647, allocations: 0 / 0.9553 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.006738/0.8715, allocations: 3.126 MB / 0.9583 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.8715, allocations: 60.41 kB / 0.9584 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.8732, allocations: 1.262 MB / 0.9596 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.8733, allocations: 49.7 kB / 0.9597 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005852/0.8739, allocations: 0.811 MB / 0.9604 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.8742, allocations: 364.6 kB / 0.9608 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.8745, allocations: 226.7 kB / 0.961 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8747, allocations: 357.9 kB / 0.9614 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008104/0.8755, allocations: 441.8 kB / 0.9618 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.8766, allocations: 0.8351 MB / 0.9626 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.8785, allocations: 1.244 MB / 0.9638 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.8785, allocations: 4 kB / 0.9638 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002408/0.881, allocations: 1.397 MB / 0.9652 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.881, allocations: 12.91 kB / 0.9652 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.881, allocations: 8 kB / 0.9652 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.881, allocations: 20.62 kB / 0.9652 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.8821, allocations: 279.5 kB / 0.9655 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.8822, allocations: 23.92 kB / 0.9655 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.8834, allocations: 63.95 kB / 0.9656 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.8835, allocations: 53.11 kB / 0.9656 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001292/0.8848, allocations: 0.7764 MB / 0.9664 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001079/0.8859, allocations: 0.8177 MB / 0.9672 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0018/0.8877, allocations: 1.237 MB / 0.9684 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.237e-06/0.8877, allocations: 0 / 0.9684 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002441/0.8902, allocations: 1.39 MB / 0.9697 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.8902, allocations: 8 kB / 0.9697 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.8903, allocations: 15.94 kB / 0.9698 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8903, allocations: 12 kB / 0.9698 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.8914, allocations: 268.1 kB / 0.97 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.363e-05/0.8914, allocations: 23.92 kB / 0.97 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.8927, allocations: 90.39 kB / 0.9701 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/0.8928, allocations: 51.94 kB / 0.9702 GB, free: 13.55 MB / 0.7012 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.0003429/0.8932, allocations: 252 kB / 0.9704 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.8936, allocations: 170 kB / 0.9706 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.8958, allocations: 1.164 MB / 0.9717 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.8959, allocations: 12 kB / 0.9717 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8959, allocations: 0 / 0.9717 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001694/0.8976, allocations: 1.071 MB / 0.9728 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/0.9023, allocations: 2.782 MB / 0.9755 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.9024, allocations: 4 kB / 0.9755 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.9035, allocations: 243.7 kB / 0.9757 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.9036, allocations: 4 kB / 0.9757 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.9037, allocations: 27.98 kB / 0.9758 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.9037, allocations: 12.78 kB / 0.9758 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9037, allocations: 3.938 kB / 0.9758 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.9067, allocations: 1.818 MB / 0.9776 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.9074, allocations: 335 kB / 0.9779 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.9076, allocations: 20 kB / 0.9779 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.9087, allocations: 60.88 kB / 0.978 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.9088, allocations: 64.86 kB / 0.978 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/0.9089, allocations: 39.97 kB / 0.9781 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001195/0.9101, allocations: 0.8426 MB / 0.9789 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9101, allocations: 0 / 0.9789 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002119/0.9122, allocations: 0.7695 MB / 0.9796 GB, free: 3.699 MB / 0.7012 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.00362/0.9159, allocations: 2.541 MB / 0.9821 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003296/0.9192, allocations: 1.729 MB / 0.9838 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.9192, allocations: 0 / 0.9838 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009421/0.9202, allocations: 0.5209 MB / 0.9843 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/0.9242, allocations: 0.9157 MB / 0.9852 GB, free: 14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.9453, allocations: 11.98 MB / 0.9969 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.9467, allocations: 1.441 MB / 0.9983 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002122/0.9489, allocations: 0.56 MB / 0.9988 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.95, allocations: 0.6828 MB / 0.9995 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.95, allocations: 0 / 0.9995 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0873/1.037, allocations: 45.04 MB / 1.043 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.37, allocations: 6.031 kB / 1.044 GB, free: 2.379 MB / 0.7637 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)