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.008021/0.008021, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00202/0.00202, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 135.6 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 55.91 kB / 0.5862 GB, free: 2.719 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4286, allocations: 81.03 MB / 0.6654 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7123/1.141, allocations: 242.4 MB / 0.9021 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02352/1.165, allocations: 15.9 MB / 0.9176 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/1.168, allocations: 76.66 kB / 0.9177 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003743/1.172, allocations: 1.18 MB / 0.9188 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.182, allocations: 3.811 MB / 0.9225 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005041/1.187, allocations: 1.817 MB / 0.9243 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007045/1.194, allocations: 5.236 MB / 0.9294 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003476/1.198, allocations: 1.675 MB / 0.9311 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00688/1.205, allocations: 2.611 MB / 0.9336 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/1.209, allocations: 1.703 MB / 0.9353 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/1.21, allocations: 176.1 kB / 0.9354 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008589/1.219, allocations: 2.708 MB / 0.9381 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001881/1.221, allocations: 0.7691 MB / 0.9388 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004283/1.225, allocations: 1.148 MB / 0.94 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009662/1.235, allocations: 3.583 MB / 0.9435 GB, free: 100 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.235, allocations: 0 / 0.9435 GB, free: 100 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.285e-06/1.235, allocations: 0 / 0.9435 GB, free: 100 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001142/1.235, allocations: 3.406 kB / 0.9435 GB, free: 100 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.005679/1.241, allocations: 2.566 MB / 0.946 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/1.241, allocations: 10.75 kB / 0.946 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/1.244, allocations: 0.5125 MB / 0.9465 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/1.247, allocations: 1.375 MB / 0.9478 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/1.247, allocations: 178.7 kB / 0.948 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/1.247, allocations: 154.5 kB / 0.9481 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/1.25, allocations: 1.733 MB / 0.9498 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/1.25, allocations: 2.469 kB / 0.9498 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/1.25, allocations: 60.25 kB / 0.9499 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.633e-05/1.251, allocations: 67.84 kB / 0.95 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/1.253, allocations: 1.376 MB / 0.9513 GB, free: 13.91 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.01121/1.264, allocations: 8.211 MB / 0.9593 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.266, allocations: 0.8948 MB / 0.9602 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008392/1.266, allocations: 0.5305 MB / 0.9607 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/1.267, allocations: 323.7 kB / 0.961 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/1.267, allocations: 52.31 kB / 0.9611 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 2.485e-06/1.267, allocations: 0 / 0.9611 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.007663/1.275, allocations: 3.141 MB / 0.9641 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/1.275, allocations: 66.5 kB / 0.9642 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/1.277, allocations: 1.264 MB / 0.9654 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/1.277, allocations: 50.14 kB / 0.9655 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/1.277, allocations: 0.8219 MB / 0.9663 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/1.278, allocations: 387.5 kB / 0.9666 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/1.278, allocations: 230.1 kB / 0.9669 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.278, allocations: 354.3 kB / 0.9672 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/1.279, allocations: 444.8 kB / 0.9676 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.28, allocations: 0.83 MB / 0.9684 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.282, allocations: 1.244 MB / 0.9697 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/1.282, allocations: 2.938 kB / 0.9697 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002566/1.285, allocations: 1.413 MB / 0.971 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.285, allocations: 12.06 kB / 0.971 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.285, allocations: 10.69 kB / 0.9711 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/1.285, allocations: 13.25 kB / 0.9711 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.286, allocations: 282.4 kB / 0.9713 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/1.286, allocations: 19.09 kB / 0.9714 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.287, allocations: 67.28 kB / 0.9714 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.984e-05/1.288, allocations: 54.31 kB / 0.9715 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001585/1.289, allocations: 0.7698 MB / 0.9722 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00124/1.29, allocations: 0.8241 MB / 0.973 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00207/1.292, allocations: 1.233 MB / 0.9742 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.907e-06/1.292, allocations: 4.703 kB / 0.9742 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002808/1.295, allocations: 1.389 MB / 0.9756 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.295, allocations: 8 kB / 0.9756 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.295, allocations: 12 kB / 0.9756 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.295, allocations: 19.3 kB / 0.9756 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.296, allocations: 273.7 kB / 0.9759 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.381e-05/1.297, allocations: 22.47 kB / 0.9759 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.298, allocations: 79.89 kB / 0.976 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/1.298, allocations: 51.98 kB / 0.976 GB, free: 12.86 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.0004251/1.299, allocations: 263.9 kB / 0.9763 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/1.299, allocations: 174.9 kB / 0.9765 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/1.301, allocations: 1.153 MB / 0.9776 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/1.301, allocations: 15.94 kB / 0.9776 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.301, allocations: 3.938 kB / 0.9776 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00182/1.303, allocations: 1.078 MB / 0.9787 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/1.308, allocations: 2.781 MB / 0.9814 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.309, allocations: 6.531 kB / 0.9814 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.31, allocations: 246.3 kB / 0.9816 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/1.31, allocations: 8 kB / 0.9816 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/1.31, allocations: 27.98 kB / 0.9817 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.31, allocations: 4 kB / 0.9817 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.31, allocations: 4 kB / 0.9817 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/1.313, allocations: 1.82 MB / 0.9834 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/1.314, allocations: 339.9 kB / 0.9838 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/1.314, allocations: 27.98 kB / 0.9838 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.315, allocations: 57.45 kB / 0.9838 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.315, allocations: 67.38 kB / 0.9839 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/1.315, allocations: 35.98 kB / 0.9839 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001256/1.317, allocations: 0.8504 MB / 0.9848 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/1.317, allocations: 0 / 0.9848 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002056/1.319, allocations: 0.7655 MB / 0.9855 GB, free: 3.035 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.0007251/1.319, allocations: 268.8 kB / 0.9858 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003446/1.323, allocations: 1.734 MB / 0.9875 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.323, allocations: 64 / 0.9875 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009615/1.324, allocations: 0.5202 MB / 0.988 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/1.328, allocations: 0.9136 MB / 0.9889 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/1.334, allocations: 3.502 MB / 0.9923 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.335, allocations: 1.441 MB / 0.9937 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002089/1.337, allocations: 0.5483 MB / 0.9942 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/1.338, allocations: 135.4 kB / 0.9944 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3.206e-06/1.338, allocations: 0 / 0.9944 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.05654/1.394, allocations: 31.54 MB / 1.025 GB, free: 11.03 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)