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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007903/0.007903, allocations: 106.2 kB / 15.74 MB, free: 6 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.001665/0.001665, allocations: 199 kB / 16.68 MB, free: 5.918 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9394/0.9394, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.89 kB / 0.5856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4248, allocations: 80.92 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7891/1.214, allocations: 242.4 MB / 0.9014 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02801/1.242, allocations: 15.88 MB / 0.9169 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004935/1.247, allocations: 80.09 kB / 0.9169 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004467/1.252, allocations: 1.228 MB / 0.9181 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01694/1.269, allocations: 3.955 MB / 0.922 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006401/1.275, allocations: 1.827 MB / 0.9238 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009501/1.284, allocations: 5.257 MB / 0.9289 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004167/1.289, allocations: 1.676 MB / 0.9306 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008355/1.297, allocations: 2.689 MB / 0.9332 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005397/1.303, allocations: 1.71 MB / 0.9349 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/1.304, allocations: 176.6 kB / 0.935 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008349/1.312, allocations: 2.713 MB / 0.9377 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00196/1.314, allocations: 0.7722 MB / 0.9384 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004079/1.318, allocations: 1.15 MB / 0.9395 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/1.329, allocations: 3.568 MB / 0.943 GB, free: 128 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.33, allocations: 1 kB / 0.943 GB, free: 128 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.883e-06/1.33, allocations: 0 / 0.943 GB, free: 128 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001651/1.33, allocations: 3.188 kB / 0.943 GB, free: 128 kB / 0.6856 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.009836/1.34, allocations: 2.491 MB / 0.9455 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.34, allocations: 11.69 kB / 0.9455 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/1.344, allocations: 0.4995 MB / 0.946 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/1.348, allocations: 1.372 MB / 0.9473 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/1.349, allocations: 181.5 kB / 0.9475 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005803/1.349, allocations: 149.8 kB / 0.9476 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/1.354, allocations: 1.735 MB / 0.9493 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-05/1.354, allocations: 5.219 kB / 0.9493 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/1.354, allocations: 66.89 kB / 0.9494 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/1.355, allocations: 64.78 kB / 0.9494 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/1.358, allocations: 1.367 MB / 0.9508 GB, free: 14.03 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.01434/1.372, allocations: 8.186 MB / 0.9588 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.374, allocations: 0.9074 MB / 0.9597 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/1.375, allocations: 0.5275 MB / 0.9602 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/1.376, allocations: 321.8 kB / 0.9605 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/1.376, allocations: 52.27 kB / 0.9605 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 3.075e-06/1.376, allocations: 2.25 kB / 0.9605 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.007212/1.383, allocations: 3.11 MB / 0.9636 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/1.383, allocations: 64.47 kB / 0.9636 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/1.385, allocations: 1.262 MB / 0.9649 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.01e-05/1.385, allocations: 47.48 kB / 0.9649 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/1.385, allocations: 0.8139 MB / 0.9657 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/1.386, allocations: 362.6 kB / 0.9661 GB, free: 4.531 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/1.386, allocations: 232.8 kB / 0.9663 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.386, allocations: 355 kB / 0.9666 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/1.387, allocations: 440.2 kB / 0.967 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.388, allocations: 0.8314 MB / 0.9678 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/1.39, allocations: 1.245 MB / 0.9691 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.39, allocations: 2.469 kB / 0.9691 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002379/1.392, allocations: 1.402 MB / 0.9704 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.392, allocations: 10.12 kB / 0.9704 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.392, allocations: 12.09 kB / 0.9705 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/1.392, allocations: 15.59 kB / 0.9705 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.393, allocations: 276.4 kB / 0.9707 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/1.393, allocations: 22.56 kB / 0.9708 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.395, allocations: 71.88 kB / 0.9708 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/1.395, allocations: 53.19 kB / 0.9709 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001355/1.396, allocations: 0.7698 MB / 0.9716 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/1.397, allocations: 0.825 MB / 0.9724 GB, free: 300 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001824/1.399, allocations: 1.228 MB / 0.9736 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.149e-06/1.399, allocations: 7.938 kB / 0.9736 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002229/1.401, allocations: 1.384 MB / 0.975 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.401, allocations: 8 kB / 0.975 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.401, allocations: 8 kB / 0.975 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.401, allocations: 20 kB / 0.975 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.402, allocations: 278.4 kB / 0.9753 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.402, allocations: 25.06 kB / 0.9753 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.404, allocations: 75.78 kB / 0.9754 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/1.404, allocations: 51.98 kB / 0.9754 GB, free: 13.2 MB / 0.7169 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.0003739/1.404, allocations: 269.9 kB / 0.9757 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/1.404, allocations: 162 kB / 0.9758 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/1.407, allocations: 1.157 MB / 0.977 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.407, allocations: 8 kB / 0.977 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.407, allocations: 3.938 kB / 0.977 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001612/1.408, allocations: 1.071 MB / 0.978 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/1.413, allocations: 2.783 MB / 0.9807 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.413, allocations: 0 / 0.9807 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.414, allocations: 250.1 kB / 0.981 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.414, allocations: 8 kB / 0.981 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/1.414, allocations: 32.2 kB / 0.981 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/1.414, allocations: 6.531 kB / 0.981 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.414, allocations: 4 kB / 0.981 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/1.417, allocations: 1.809 MB / 0.9828 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/1.418, allocations: 331.1 kB / 0.9831 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.418, allocations: 24 kB / 0.9831 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009262/1.419, allocations: 58.19 kB / 0.9832 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.419, allocations: 75.22 kB / 0.9833 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/1.419, allocations: 43.98 kB / 0.9833 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001109/1.42, allocations: 0.8426 MB / 0.9841 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.42, allocations: 4 kB / 0.9841 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002085/1.422, allocations: 0.7617 MB / 0.9849 GB, free: 3.391 MB / 0.7169 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.0005985/1.423, allocations: 270.6 kB / 0.9851 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003091/1.426, allocations: 1.732 MB / 0.9868 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/1.426, allocations: 4.75 kB / 0.9868 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/1.427, allocations: 0.5202 MB / 0.9873 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.43, allocations: 0.9042 MB / 0.9882 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/1.436, allocations: 3.445 MB / 0.9916 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.437, allocations: 1.441 MB / 0.993 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00209/1.439, allocations: 0.5639 MB / 0.9935 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/1.44, allocations: 127.4 kB / 0.9937 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/1.44, allocations: 0 / 0.9937 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.05334/1.493, allocations: 31.53 MB / 1.024 GB, free: 11.45 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)