Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0007731/0.0007731, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008183/0.0008184, allocations: 168.7 kB / 15.95 MB, free: 204 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.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7362/0.7362, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 8 kB / 0.5035 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4319, allocations: 81.58 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1875/0.6194, allocations: 171.4 MB / 0.7506 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.6337, allocations: 10.16 MB / 0.7605 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.6351, allocations: 39.69 kB / 0.7605 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.6364, allocations: 345.7 kB / 0.7608 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005756/0.6422, allocations: 1.971 MB / 0.7628 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005106/0.6473, allocations: 1.875 MB / 0.7646 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.6513, allocations: 3.316 MB / 0.7678 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.6525, allocations: 0.5827 MB / 0.7684 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.6546, allocations: 0.9028 MB / 0.7693 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.6568, allocations: 1.032 MB / 0.7703 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.6572, allocations: 44 kB / 0.7703 GB, free: 416 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004941/0.6621, allocations: 2.054 MB / 0.7723 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006801/0.6628, allocations: 378.9 kB / 0.7727 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.6633, allocations: 237.1 kB / 0.7729 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.6668, allocations: 1.976 MB / 0.7749 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6668, allocations: 0 / 0.7749 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6668, allocations: 0 / 0.7749 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.6669, allocations: 0 / 0.7749 GB, free: 11.76 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003562/0.6704, allocations: 1.491 MB / 0.7763 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.6705, allocations: 8.031 kB / 0.7763 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002667/0.6707, allocations: 114.5 kB / 0.7764 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.6726, allocations: 302.3 kB / 0.7767 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.674, allocations: 0.7421 MB / 0.7774 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.674, allocations: 57.28 kB / 0.7775 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.6742, allocations: 67.98 kB / 0.7776 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.6759, allocations: 0.9883 MB / 0.7785 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.6759, allocations: 0 / 0.7785 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.676, allocations: 27.97 kB / 0.7786 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.6761, allocations: 85.84 kB / 0.7786 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.6778, allocations: 1.015 MB / 0.7796 GB, free: 6.746 MB / 0.6075 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.005915/0.6838, allocations: 3.574 MB / 0.7831 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6848, allocations: 0.6573 MB / 0.7838 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.6854, allocations: 382.3 kB / 0.7841 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.6856, allocations: 190.8 kB / 0.7843 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.6857, allocations: 55.06 kB / 0.7844 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.695e-06/0.6857, allocations: 384 / 0.7844 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.001919/0.6876, allocations: 1.021 MB / 0.7854 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.6877, allocations: 107.4 kB / 0.7855 GB, free: 468 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.6887, allocations: 0.798 MB / 0.7862 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.6888, allocations: 37.7 kB / 0.7863 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.6891, allocations: 424.1 kB / 0.7867 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.6894, allocations: 228.8 kB / 0.7869 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.6894, allocations: 12 kB / 0.7869 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6895, allocations: 334 kB / 0.7872 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.6901, allocations: 329.8 kB / 0.7875 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.6907, allocations: 457.5 kB / 0.788 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.6913, allocations: 395.1 kB / 0.7884 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.6913, allocations: 0 / 0.7884 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001497/0.6928, allocations: 0.91 MB / 0.7892 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.834e-05/0.6929, allocations: 155.6 kB / 0.7894 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.693, allocations: 4 kB / 0.7894 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.693, allocations: 8 kB / 0.7894 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.6937, allocations: 147.8 kB / 0.7895 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.6937, allocations: 15.92 kB / 0.7896 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.6946, allocations: 103.1 kB / 0.7897 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.6946, allocations: 27.98 kB / 0.7897 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.6947, allocations: 4 kB / 0.7897 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/0.6959, allocations: 0.7649 MB / 0.7904 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6959, allocations: 4 kB / 0.7904 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.6959, allocations: 4.281 kB / 0.7904 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.6966, allocations: 159.7 kB / 0.7906 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.6966, allocations: 4 kB / 0.7906 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.6973, allocations: 95.2 kB / 0.7907 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.6974, allocations: 35.98 kB / 0.7907 GB, free: 10.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0004678/0.6979, allocations: 368.9 kB / 0.7911 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.698, allocations: 90.88 kB / 0.7912 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.6994, allocations: 0.8042 MB / 0.792 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.6995, allocations: 8 kB / 0.792 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6995, allocations: 0 / 0.792 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.7005, allocations: 0.7438 MB / 0.7927 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.7039, allocations: 2.093 MB / 0.7947 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.7039, allocations: 4 kB / 0.7947 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/0.7046, allocations: 139.8 kB / 0.7949 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.7046, allocations: 8 kB / 0.7949 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.7047, allocations: 16.44 kB / 0.7949 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.7047, allocations: 8 kB / 0.7949 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.7047, allocations: 8.016 kB / 0.7949 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.7066, allocations: 1.403 MB / 0.7963 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/0.7071, allocations: 263.8 kB / 0.7965 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.7073, allocations: 12 kB / 0.7965 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.708, allocations: 51.75 kB / 0.7966 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.708, allocations: 56.27 kB / 0.7966 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.7081, allocations: 20 kB / 0.7967 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007407/0.7088, allocations: 0.5498 MB / 0.7972 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7089, allocations: 0 / 0.7972 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0018/0.7107, allocations: 0.7489 MB / 0.7979 GB, free: 3.359 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,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 (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.003402/0.7141, allocations: 2.381 MB / 0.8003 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.7162, allocations: 1.163 MB / 0.8014 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.7162, allocations: 8.062 kB / 0.8014 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.7167, allocations: 370.1 kB / 0.8017 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.7192, allocations: 0.5064 MB / 0.8022 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.7295, allocations: 5.968 MB / 0.8081 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.7303, allocations: 1.074 MB / 0.8091 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001414/0.7318, allocations: 418.2 kB / 0.8095 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/0.7323, allocations: 335.3 kB / 0.8098 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/0.7323, allocations: 0 / 0.8098 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3259/1.058, allocations: 30.32 MB / 0.8394 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.058, allocations: 236.4 kB / 0.8397 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.525, allocations: 0 / 0.8397 GB, free: 206.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: