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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007432/0.007431, allocations: 169.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8169/0.8169, allocations: 132.3 MB / 148.1 MB, free: 228 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 403.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009132/0.0009133, allocations: 96.56 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 8 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/0.5087, allocations: 81.58 MB / 0.6437 GB, free: 39.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.165/5.674, allocations: 1.911 GB / 2.555 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/5.674, allocations: 91.95 kB / 2.555 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.961/7.635, allocations: 475.9 MB / 3.02 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/7.635, allocations: 3.938 kB / 3.02 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.504e-05/7.635, allocations: 32.84 kB / 3.02 GB, free: 137.5 MB / 0.6823 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.005066/7.64, allocations: 1.622 MB / 3.022 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/7.64, allocations: 8.656 kB / 3.022 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/7.643, allocations: 290.9 kB / 3.022 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/7.645, allocations: 0.841 MB / 3.023 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/7.645, allocations: 57.12 kB / 3.023 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/7.645, allocations: 61.78 kB / 3.023 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/7.646, allocations: 0.9813 MB / 3.024 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/7.647, allocations: 3.609 kB / 3.024 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/7.647, allocations: 35.66 kB / 3.024 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.892e-05/7.647, allocations: 70.02 kB / 3.024 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/7.648, allocations: 0.9797 MB / 3.025 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/7.654, allocations: 3.593 MB / 3.028 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/7.655, allocations: 0.6511 MB / 3.029 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/7.655, allocations: 201 kB / 3.029 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/7.655, allocations: 38.25 kB / 3.029 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.296e-06/7.655, allocations: 0 / 3.029 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.001815/7.657, allocations: 1.008 MB / 3.03 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/7.657, allocations: 115 kB / 3.03 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/7.658, allocations: 0.6999 MB / 3.031 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/7.658, allocations: 43.91 kB / 3.031 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/7.658, allocations: 421.6 kB / 3.031 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/7.659, allocations: 218.7 kB / 3.032 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/7.659, allocations: 15.47 kB / 3.032 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/7.659, allocations: 334.1 kB / 3.032 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/7.659, allocations: 322 kB / 3.032 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/7.66, allocations: 449.3 kB / 3.033 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/7.66, allocations: 391.8 kB / 3.033 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/7.66, allocations: 0 / 3.033 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001286/7.662, allocations: 0.8947 MB / 3.034 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/7.662, allocations: 0.7092 MB / 3.035 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/7.662, allocations: 0 / 3.035 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/7.662, allocations: 10.95 kB / 3.035 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/7.663, allocations: 141.1 kB / 3.035 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/7.663, allocations: 3.938 kB / 3.035 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009707/7.664, allocations: 100.4 kB / 3.035 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/7.664, allocations: 31.33 kB / 3.035 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/7.664, allocations: 7.656 kB / 3.035 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/7.665, allocations: 0.7542 MB / 3.036 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/7.665, allocations: 3.938 kB / 3.036 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/7.665, allocations: 6.781 kB / 3.036 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/7.665, allocations: 143.4 kB / 3.036 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/7.665, allocations: 7.188 kB / 3.036 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/7.666, allocations: 100.9 kB / 3.036 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/7.666, allocations: 31.27 kB / 3.036 GB, free: 130 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.00059/7.667, allocations: 365.7 kB / 3.036 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/7.667, allocations: 101.3 kB / 3.036 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/7.668, allocations: 0.7931 MB / 3.037 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/7.668, allocations: 3.938 kB / 3.037 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/7.668, allocations: 3.938 kB / 3.037 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009029/7.669, allocations: 0.7401 MB / 3.038 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/7.672, allocations: 2.084 MB / 3.04 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/7.673, allocations: 3 kB / 3.04 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/7.673, allocations: 136.2 kB / 3.04 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/7.673, allocations: 3.938 kB / 3.04 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/7.673, allocations: 18.55 kB / 3.04 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/7.673, allocations: 11.2 kB / 3.04 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/7.673, allocations: 7.875 kB / 3.04 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/7.675, allocations: 1.559 MB / 3.042 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/7.676, allocations: 256.8 kB / 3.042 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/7.676, allocations: 19.36 kB / 3.042 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/7.676, allocations: 59.41 kB / 3.042 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/7.676, allocations: 42.69 kB / 3.042 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/7.677, allocations: 21.34 kB / 3.042 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007012/7.677, allocations: 0.5579 MB / 3.043 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.255e-06/7.677, allocations: 2.969 kB / 3.043 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003117/7.68, allocations: 0.9226 MB / 3.044 GB, free: 126.1 MB / 0.6823 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.00345/7.684, allocations: 1.756 MB / 3.045 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001953/7.686, allocations: 1.143 MB / 3.046 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/7.686, allocations: 2.406 kB / 3.046 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/7.686, allocations: 371.2 kB / 3.047 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/7.689, allocations: 0.5046 MB / 3.047 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/7.692, allocations: 2.252 MB / 3.049 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/7.692, allocations: 1.096 MB / 3.05 GB, free: 121 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001394/7.694, allocations: 406.8 kB / 3.051 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/7.694, allocations: 75.14 kB / 3.051 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/7.694, allocations: 0 / 3.051 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.04937/7.743, allocations: 37.03 MB / 3.087 GB, free: 85.39 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)