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.001385/0.001385, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001312/0.001312, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8769/0.8769, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 64.97 kB / 0.5863 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2072, allocations: 80.93 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8974/1.105, allocations: 243 MB / 0.9026 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02932/1.134, allocations: 15.92 MB / 0.9182 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/1.138, allocations: 79.5 kB / 0.9183 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004685/1.143, allocations: 1.227 MB / 0.9195 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/1.158, allocations: 3.967 MB / 0.9233 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007094/1.165, allocations: 1.818 MB / 0.9251 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01129/1.176, allocations: 5.252 MB / 0.9302 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/1.18, allocations: 1.419 MB / 0.9316 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008335/1.188, allocations: 2.693 MB / 0.9343 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005749/1.194, allocations: 1.704 MB / 0.9359 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008237/1.195, allocations: 172 kB / 0.9361 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008954/1.204, allocations: 2.72 MB / 0.9387 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001636/1.205, allocations: 0.7904 MB / 0.9395 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002794/1.208, allocations: 1.143 MB / 0.9406 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/1.219, allocations: 3.585 MB / 0.9441 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/1.219, allocations: 0 / 0.9441 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/1.219, allocations: 0 / 0.9441 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.152e-05/1.219, allocations: 0 / 0.9441 GB, free: 1.477 MB / 0.7012 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.005968/1.225, allocations: 2.57 MB / 0.9466 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.225, allocations: 13.11 kB / 0.9467 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/1.228, allocations: 0.5177 MB / 0.9472 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/1.231, allocations: 1.372 MB / 0.9485 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/1.231, allocations: 182.2 kB / 0.9487 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/1.232, allocations: 152.5 kB / 0.9488 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/1.235, allocations: 1.73 MB / 0.9505 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/1.235, allocations: 3.938 kB / 0.9505 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/1.235, allocations: 63.98 kB / 0.9506 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/1.235, allocations: 66.69 kB / 0.9506 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/1.238, allocations: 1.373 MB / 0.952 GB, free: 9.234 MB / 0.7169 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.01256/1.251, allocations: 8.205 MB / 0.96 GB, free: 340 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/1.252, allocations: 0.8418 MB / 0.9608 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009183/1.253, allocations: 0.495 MB / 0.9613 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007192/1.254, allocations: 320.5 kB / 0.9616 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.093e-05/1.254, allocations: 47.56 kB / 0.9616 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 3.065e-06/1.254, allocations: 0 / 0.9616 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.008487/1.263, allocations: 3.135 MB / 0.9647 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/1.263, allocations: 72.34 kB / 0.9648 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/1.265, allocations: 1.262 MB / 0.966 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/1.265, allocations: 49.7 kB / 0.9661 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008007/1.266, allocations: 0.8189 MB / 0.9669 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/1.266, allocations: 392.6 kB / 0.9672 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/1.267, allocations: 218.9 kB / 0.9674 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.267, allocations: 361.9 kB / 0.9678 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009171/1.268, allocations: 449.8 kB / 0.9682 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.269, allocations: 0.8251 MB / 0.969 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/1.271, allocations: 1.248 MB / 0.9702 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.271, allocations: 4 kB / 0.9702 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003226/1.275, allocations: 1.41 MB / 0.9716 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.275, allocations: 12 kB / 0.9716 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/1.275, allocations: 11.98 kB / 0.9716 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/1.275, allocations: 16 kB / 0.9717 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.276, allocations: 272.2 kB / 0.9719 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/1.276, allocations: 27.92 kB / 0.9719 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.278, allocations: 75.17 kB / 0.972 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/1.278, allocations: 51.98 kB / 0.9721 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001838/1.28, allocations: 0.7739 MB / 0.9728 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001358/1.281, allocations: 0.8273 MB / 0.9736 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00242/1.284, allocations: 1.229 MB / 0.9748 GB, free: 380 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.955e-06/1.284, allocations: 4 kB / 0.9748 GB, free: 376 kB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003035/1.287, allocations: 1.399 MB / 0.9762 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.287, allocations: 8 kB / 0.9762 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.287, allocations: 8 kB / 0.9762 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.287, allocations: 16 kB / 0.9762 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.288, allocations: 275.6 kB / 0.9765 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/1.288, allocations: 23.92 kB / 0.9765 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.289, allocations: 76.06 kB / 0.9766 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.29, allocations: 48 kB / 0.9766 GB, free: 14.51 MB / 0.7481 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.0006157/1.29, allocations: 273 kB / 0.9769 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/1.291, allocations: 174.9 kB / 0.9771 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/1.294, allocations: 1.148 MB / 0.9782 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.294, allocations: 8 kB / 0.9782 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/1.294, allocations: 0 / 0.9782 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002041/1.296, allocations: 1.079 MB / 0.9792 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/1.302, allocations: 2.785 MB / 0.982 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.302, allocations: 4.031 kB / 0.982 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.303, allocations: 247.7 kB / 0.9822 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/1.303, allocations: 8 kB / 0.9822 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/1.303, allocations: 27.98 kB / 0.9822 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/1.303, allocations: 7.984 kB / 0.9822 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.303, allocations: 7.938 kB / 0.9823 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/1.306, allocations: 1.823 MB / 0.984 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/1.307, allocations: 343.9 kB / 0.9844 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.307, allocations: 24 kB / 0.9844 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.308, allocations: 62 kB / 0.9844 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/1.309, allocations: 64.95 kB / 0.9845 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/1.309, allocations: 39.97 kB / 0.9845 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001374/1.31, allocations: 0.8387 MB / 0.9854 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.31, allocations: 0 / 0.9854 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002373/1.312, allocations: 0.7693 MB / 0.9861 GB, free: 4.602 MB / 0.7481 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.0007059/1.313, allocations: 277.7 kB / 0.9864 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003544/1.317, allocations: 1.626 MB / 0.988 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.317, allocations: 0 / 0.988 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.318, allocations: 0.4911 MB / 0.9884 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.322, allocations: 0.9167 MB / 0.9893 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/1.329, allocations: 3.577 MB / 0.9928 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.33, allocations: 1.437 MB / 0.9942 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/1.331, allocations: 139.4 kB / 0.9944 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of SimCode: time 1.983e-06/1.331, allocations: 0 / 0.9944 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of Templates: time 0.05491/1.386, allocations: 26.92 MB / 1.021 GB, free: 1.328 MB / 0.7794 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)