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.001532/0.001532, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9009/0.9009, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.3 kB / 0.5053 GB, free: 5.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1969, allocations: 80.92 MB / 0.5844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6365/0.8334, allocations: 242.4 MB / 0.8211 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.8585, allocations: 15.88 MB / 0.8366 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.8617, allocations: 75.56 kB / 0.8366 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003401/0.8651, allocations: 1.177 MB / 0.8378 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.8754, allocations: 3.812 MB / 0.8415 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.8808, allocations: 1.804 MB / 0.8433 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007665/0.8885, allocations: 5.244 MB / 0.8484 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.8917, allocations: 1.672 MB / 0.85 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006721/0.8984, allocations: 2.596 MB / 0.8526 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00481/0.9033, allocations: 1.702 MB / 0.8542 GB, free: 8.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006906/0.904, allocations: 176 kB / 0.8544 GB, free: 8.148 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006698/0.9107, allocations: 2.701 MB / 0.857 GB, free: 5.441 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.912, allocations: 0.7752 MB / 0.8578 GB, free: 4.664 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.914, allocations: 1.147 MB / 0.8589 GB, free: 3.512 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.4116/1.326, allocations: 3.515 MB / 0.8623 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/1.326, allocations: 0 / 0.8623 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.657e-06/1.326, allocations: 0 / 0.8623 GB, free: 14.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001654/1.326, allocations: 0 / 0.8623 GB, free: 14.77 MB / 0.67 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.006154/1.332, allocations: 2.499 MB / 0.8648 GB, free: 13.82 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.332, allocations: 9.969 kB / 0.8648 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/1.335, allocations: 0.5035 MB / 0.8653 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/1.338, allocations: 1.273 MB / 0.8665 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/1.338, allocations: 183.6 kB / 0.8667 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/1.338, allocations: 147.1 kB / 0.8668 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/1.341, allocations: 1.735 MB / 0.8685 GB, free: 12.97 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.437e-05/1.341, allocations: 9.781 kB / 0.8686 GB, free: 12.97 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/1.341, allocations: 60.09 kB / 0.8686 GB, free: 12.97 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.569e-05/1.341, allocations: 63.33 kB / 0.8687 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/1.344, allocations: 1.371 MB / 0.87 GB, free: 12.95 MB / 0.67 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.009286/1.353, allocations: 8.233 MB / 0.878 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/1.355, allocations: 0.9052 MB / 0.8789 GB, free: 8.121 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/1.355, allocations: 0.5349 MB / 0.8795 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000575/1.356, allocations: 321.5 kB / 0.8798 GB, free: 7.832 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.356, allocations: 50.59 kB / 0.8798 GB, free: 7.793 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.975e-06/1.356, allocations: 1.984 kB / 0.8798 GB, free: 7.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.007128/1.363, allocations: 3.107 MB / 0.8828 GB, free: 7.172 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.363, allocations: 63.16 kB / 0.8829 GB, free: 7.109 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.365, allocations: 1.264 MB / 0.8841 GB, free: 6.941 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.365, allocations: 50.38 kB / 0.8842 GB, free: 6.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000589/1.366, allocations: 0.8121 MB / 0.885 GB, free: 6.594 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/1.366, allocations: 363.7 kB / 0.8853 GB, free: 6.363 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/1.366, allocations: 233.9 kB / 0.8856 GB, free: 6.336 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0003253/1.367, allocations: 353.7 kB / 0.8859 GB, free: 22.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/1.368, allocations: 445.1 kB / 0.8863 GB, free: 22.01 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.369, allocations: 0.832 MB / 0.8871 GB, free: 21.57 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/1.371, allocations: 1.246 MB / 0.8883 GB, free: 21.24 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/1.371, allocations: 3.469 kB / 0.8883 GB, free: 21.24 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002934/1.374, allocations: 1.401 MB / 0.8897 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/1.374, allocations: 9.594 kB / 0.8897 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.374, allocations: 10.97 kB / 0.8897 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/1.374, allocations: 14.69 kB / 0.8897 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.375, allocations: 280.3 kB / 0.89 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/1.375, allocations: 19.72 kB / 0.89 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.377, allocations: 74.77 kB / 0.8901 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.377, allocations: 52.94 kB / 0.8902 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001593/1.378, allocations: 0.7674 MB / 0.8909 GB, free: 21.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/1.38, allocations: 0.8273 MB / 0.8917 GB, free: 20.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001966/1.382, allocations: 1.234 MB / 0.8929 GB, free: 20.26 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.574e-06/1.382, allocations: 3.344 kB / 0.8929 GB, free: 20.26 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003468/1.385, allocations: 1.383 MB / 0.8943 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.385, allocations: 10.64 kB / 0.8943 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.385, allocations: 13.91 kB / 0.8943 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/1.385, allocations: 15.09 kB / 0.8943 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.386, allocations: 271 kB / 0.8946 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/1.386, allocations: 25.06 kB / 0.8946 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.388, allocations: 78.05 kB / 0.8947 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/1.388, allocations: 49.44 kB / 0.8947 GB, free: 20.14 MB / 0.6856 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.0004256/1.389, allocations: 269.2 kB / 0.895 GB, free: 19.95 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/1.389, allocations: 164.6 kB / 0.8951 GB, free: 19.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/1.391, allocations: 1.149 MB / 0.8962 GB, free: 19.78 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.391, allocations: 10.03 kB / 0.8963 GB, free: 19.78 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.391, allocations: 3.062 kB / 0.8963 GB, free: 19.78 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001757/1.393, allocations: 1.072 MB / 0.8973 GB, free: 19.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/1.399, allocations: 2.789 MB / 0.9 GB, free: 19.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.399, allocations: 2.969 kB / 0.9 GB, free: 19.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.4, allocations: 251.5 kB / 0.9003 GB, free: 19.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/1.4, allocations: 6.406 kB / 0.9003 GB, free: 19.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/1.4, allocations: 28.22 kB / 0.9003 GB, free: 19.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/1.4, allocations: 7.5 kB / 0.9003 GB, free: 19.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.4, allocations: 2.625 kB / 0.9003 GB, free: 19.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/1.404, allocations: 1.814 MB / 0.9021 GB, free: 18.79 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/1.405, allocations: 336.5 kB / 0.9024 GB, free: 18.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/1.405, allocations: 23.33 kB / 0.9024 GB, free: 18.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.406, allocations: 61.5 kB / 0.9025 GB, free: 18.61 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/1.406, allocations: 65.92 kB / 0.9026 GB, free: 18.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/1.407, allocations: 41.61 kB / 0.9026 GB, free: 18.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001445/1.408, allocations: 0.8475 MB / 0.9034 GB, free: 18.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.31e-07/1.408, allocations: 0.9062 kB / 0.9034 GB, free: 18.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002447/1.411, allocations: 0.7654 MB / 0.9042 GB, free: 18.48 MB / 0.6856 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.0007001/1.411, allocations: 266.8 kB / 0.9044 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004381/1.416, allocations: 2 MB / 0.9064 GB, free: 18.35 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.416, allocations: 0.9062 kB / 0.9064 GB, free: 18.35 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/1.417, allocations: 0.5163 MB / 0.9069 GB, free: 18.35 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004766/1.421, allocations: 0.9182 MB / 0.9078 GB, free: 18.27 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/1.428, allocations: 3.492 MB / 0.9112 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.429, allocations: 1.445 MB / 0.9126 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002509/1.432, allocations: 0.5565 MB / 0.9131 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/1.432, allocations: 124.4 kB / 0.9133 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/1.432, allocations: 0 / 0.9133 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.0518/1.484, allocations: 31.3 MB / 0.9438 GB, free: 3.73 MB / 0.6856 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)