Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008266, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008514/0.0008514, allocations: 177.3 kB / 15.95 MB, free: 216 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.177/1.177, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 15.98 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.3955/0.5309, allocations: 156.6 MB / 0.7401 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.5454, allocations: 10.02 MB / 0.7499 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.547, allocations: 39.69 kB / 0.7499 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.5484, allocations: 0.495 MB / 0.7504 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.5539, allocations: 1.965 MB / 0.7523 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005541/0.5595, allocations: 2.163 MB / 0.7545 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002683/0.5622, allocations: 1.534 MB / 0.756 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.563, allocations: 0.6026 MB / 0.7565 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.5643, allocations: 0.7826 MB / 0.7573 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.5652, allocations: 0.6775 MB / 0.758 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.5653, allocations: 47.94 kB / 0.758 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.5692, allocations: 1.962 MB / 0.7599 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.5695, allocations: 343 kB / 0.7603 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.5698, allocations: 237.1 kB / 0.7605 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.5724, allocations: 1.902 MB / 0.7623 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.5724, allocations: 0 / 0.7623 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5725, allocations: 0 / 0.7623 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.5725, allocations: 4 kB / 0.7623 GB, free: 9.227 MB / 0.5762 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.002858/0.5753, allocations: 1.451 MB / 0.7638 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5754, allocations: 12.03 kB / 0.7638 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.577, allocations: 290.3 kB / 0.7641 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5782, allocations: 0.7499 MB / 0.7648 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.5783, allocations: 61.22 kB / 0.7648 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.5784, allocations: 63.98 kB / 0.7649 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.5798, allocations: 0.9805 MB / 0.7659 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5799, allocations: 0 / 0.7659 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.5799, allocations: 31.98 kB / 0.7659 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.533e-05/0.58, allocations: 73.95 kB / 0.766 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.5815, allocations: 1.019 MB / 0.767 GB, free: 4.395 MB / 0.5762 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.005339/0.5868, allocations: 3.574 MB / 0.7704 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.5878, allocations: 0.6581 MB / 0.7711 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.5878, allocations: 12.56 kB / 0.7711 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.5879, allocations: 43.12 kB / 0.7711 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.044e-06/0.5879, allocations: 0 / 0.7711 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62): time 0.001811/0.5897, allocations: 1.029 MB / 0.7722 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.5898, allocations: 115.3 kB / 0.7723 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.5907, allocations: 0.8019 MB / 0.773 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.5908, allocations: 37.7 kB / 0.7731 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.5911, allocations: 420.1 kB / 0.7735 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.5913, allocations: 220.8 kB / 0.7737 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.5914, allocations: 16 kB / 0.7737 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5915, allocations: 338 kB / 0.774 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.592, allocations: 321.8 kB / 0.7743 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.5926, allocations: 457.2 kB / 0.7748 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.5931, allocations: 395 kB / 0.7751 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5932, allocations: 4 kB / 0.7752 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001294/0.5945, allocations: 0.9061 MB / 0.776 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000324/0.5948, allocations: 0.8797 MB / 0.7769 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5948, allocations: 0 / 0.7769 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.5948, allocations: 11.98 kB / 0.7769 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.5955, allocations: 155.7 kB / 0.7771 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.5955, allocations: 4 kB / 0.7771 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008167/0.5964, allocations: 116.2 kB / 0.7772 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.5964, allocations: 24 kB / 0.7772 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.5964, allocations: 4 kB / 0.7772 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/0.5976, allocations: 0.7804 MB / 0.778 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5976, allocations: 4 kB / 0.778 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.5976, allocations: 4 kB / 0.778 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.5982, allocations: 144.8 kB / 0.7781 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.5982, allocations: 4 kB / 0.7781 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/0.5989, allocations: 100.6 kB / 0.7782 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.599, allocations: 28 kB / 0.7782 GB, free: 8.449 MB / 0.5919 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.0004597/0.5994, allocations: 376.8 kB / 0.7786 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5996, allocations: 90.92 kB / 0.7787 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.6008, allocations: 0.8046 MB / 0.7795 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6008, allocations: 8 kB / 0.7795 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6008, allocations: 0 / 0.7795 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009297/0.6018, allocations: 0.7438 MB / 0.7802 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.6047, allocations: 2.087 MB / 0.7822 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6047, allocations: 4.031 kB / 0.7822 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.6053, allocations: 143.7 kB / 0.7824 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.6053, allocations: 4 kB / 0.7824 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.6054, allocations: 20 kB / 0.7824 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.6054, allocations: 13.8 kB / 0.7824 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.6054, allocations: 7.953 kB / 0.7824 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.6073, allocations: 1.551 MB / 0.7839 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.6077, allocations: 263.8 kB / 0.7842 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6078, allocations: 23.98 kB / 0.7842 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.6084, allocations: 51.81 kB / 0.7843 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.6084, allocations: 44.34 kB / 0.7843 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.6085, allocations: 23.98 kB / 0.7843 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006212/0.6091, allocations: 0.5575 MB / 0.7849 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6091, allocations: 0 / 0.7849 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001646/0.6108, allocations: 0.745 MB / 0.7856 GB, free: 0.6016 MB / 0.5919 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.001082/0.6119, allocations: 0.539 MB / 0.7861 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.6136, allocations: 1.163 MB / 0.7873 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6136, allocations: 320 / 0.7873 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.6141, allocations: 370.1 kB / 0.7876 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6162, allocations: 0.5023 MB / 0.7881 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.6189, allocations: 2.272 MB / 0.7903 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.6195, allocations: 1.097 MB / 0.7914 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001182/0.6207, allocations: 416.7 kB / 0.7918 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.6209, allocations: 71.42 kB / 0.7919 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.6209, allocations: 4 kB / 0.7919 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.03025/0.6512, allocations: 21.41 MB / 0.8128 GB, free: 4.938 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: